PHP判断上传文件是否为图片且保存为唯一命名

Posted on Leave a commentPosted in 学习笔记

 

PHP上传单个文件并保存至服务器

Posted on Leave a commentPosted in 学习笔记

PHP随机字母数字验证码

Posted on Leave a commentPosted in 学习笔记

PHP图像字符水印居中

Posted on Leave a commentPosted in 学习笔记

PHP通过HTTP请求防盗链

Posted on Leave a commentPosted in 学习笔记

anti-theft_chain.php

anti-theft_chain.html

PHP隐藏下载地址

Posted on Leave a commentPosted in 学习笔记

download.php

download.html

MySQL初始化配置

Posted on Leave a commentPosted in 学习笔记

安装 mysql-5.5.24-win32.msi

设置密码 root

测试是否安装成功

CMD下

set path

mysql.exe -hlocalhost -uroot -proot

msohtmlclipclip_image001

修改php配置文件php.ini(复制php.ini-development进行修改)

msohtmlclipclip_image002

开启PHP扩展文件目录

extension_dir = “ext”

msohtmlclipclip_image003

extension=php_mysql.dll

msohtmlclipclip_image004

当Apache启动时,指定php.ini文件的路径

PHPIniDir “C:\wamp\PHP5″[……]

Read more

PHP初始化配置

Posted on Leave a commentPosted in 学习笔记

解压到安装目录

msohtmlclipclip_image001[4]

在Apache里加载PHP5模块,并指定扩展名与文件内容进行绑定

#Apache启动时,去加载PHP5的模块

LoadModule php5_module C:\wamp\PHP5\php5apache2_2.dll

#将指定的扩展名,与文件内容进行绑定

AddType application/x-httpd-php .php .html

msohtmlclipclip_image002[4]

配置环境变量

msohtmlclipclip_image003[4]

修改php配置文件php.ini(复制php.ini-development进行修改)

msohtmlclipclip_image004[4]

开启PHP扩展文件目录

extension_dir =[……]

Read more

Page 2 of 1212345...10...Last »