摘要: load的方法的使用(现在已不常用) <!doctype html><html lang="en"><head> <meta charset="UTF-8"> <title>demo</title> <!-- 引进jQuery --> <script src="jquery.js"></script 阅读全文
posted @ 2016-08-11 22:42 岁月无言成追忆 阅读(244) 评论(0) 推荐(0) 编辑
摘要: $src = '4.jpg'; list($width,$height) = getimagesize($src); $im = imagecreatefromjpeg($src); $panl = imagecreatetruecolor(100, 100); imagecopyresampled 阅读全文
posted @ 2016-08-05 16:36 岁月无言成追忆 阅读(199) 评论(0) 推荐(0) 编辑
摘要: $im = imagecreatetruecolor(100, 40); $white = imagecolorallocate($im,255, 255, 0); imagefill($im, 0, 0, $white); $color = imagecolorallocate($im, 0, 2 阅读全文
posted @ 2016-08-05 16:31 岁月无言成追忆 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 生成文字水印 //文字水印 /*打开图片*/ //1.配置图片路径 $src = "4.jpg"; //2.获取图片的信息(得到图片的基本信息) $info = getimagesize($src ); //3.通过获取图片类型 $type = image_type_to_extension($in 阅读全文
posted @ 2016-08-03 16:53 岁月无言成追忆 阅读(7699) 评论(0) 推荐(0) 编辑
摘要: 一.数据库导入表 1.先用sql语句创建相应的表,包括表的字段和字段类型 2.导入数据,选择相应的表名,不带'$'符号的表名 二.创建数据库 create datatable 数据库名 三.查看表里的字段结构 sp_help 表名 四.创建表 create table 表名(字段名 字段类型,字段名 阅读全文
posted @ 2016-06-06 17:21 岁月无言成追忆 阅读(725) 评论(0) 推荐(1) 编辑