摘要: <?php/*燕十八 公益PHP培训 课堂地址:YY频道88354001 学习社区:www.zixue.it 原型图测试文件*/ header('content-type:text/html;charset=utf-8'); //POST接受数据 $smaller = $_POST['smaller']+0; $middle = $_POST['middle']+0; $college = $_POST['college']+0; $doctor = $_POST['doctor']+0; $all = $s 阅读全文
posted @ 2012-12-14 16:41 arvim 阅读(216) 评论(0) 推荐(0) 编辑
摘要: <?php/*燕十八 公益PHP培训 课堂地址:YY频道88354001 学习社区:www.zixue.it PHP的图片处理类(包括图片的水印,图片的缩略,验证码的实现)*/ class ImageTool{ //获取图片的信息宽高后缀等 public static function getInfo($dis){ $imginfo = getimagesize($dis); $info['width'] = $imginfo[0]; $info['height'] = $imginfo[1]; $info['ext'] = substr( 阅读全文
posted @ 2012-12-14 16:34 arvim 阅读(363) 评论(0) 推荐(0) 编辑