摘要: <?phpheader("Content-Type:image/png");srand((double)microtime()*1000000);$img_height=20;$img_width=60;$im=@imagecreate($img_width,$img_height) or die("不能初始化GD文件流");$background_color=imagecolorallocate($im,255,255,255);$text_color=imagecolorallocate($im,233,14,91);//绘制干扰雪花for($ 阅读全文
posted @ 2011-08-25 15:10 Erebus_NET 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 项目包含的功能脚本:login.php//登录reg.php//注册用户user_add.php//注册校验脚本user_login_check.php//登录校验脚本image.php//验证码图片生成脚本流程:设计数据库:包含用户uid,用户名,密码,昵称,性别,邮箱,注册时间sql语句如下create table users (uid bigint(20) not null auto_increment primary key unique key,username varchar(100) default null, userpassword varchar(100) default 阅读全文
posted @ 2011-08-25 15:09 Erebus_NET 阅读(1436) 评论(0) 推荐(0) 编辑