![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
php
reisang
这个作者很懒,什么都没留下…
展开
-
php 下安装redis扩展
安装方法: 首先把php_redis.dll 和 php_igbinary.dll 放入PHP的ext文件夹,然后在php.ini配置文件里添加如下代码: extension=php_igbinary.dll extension=php_redis.dll 重启 Apache 或 IIS 注意:extension=php_igbinary.dll一定要放在extensi原创 2015-01-06 16:00:40 · 355 阅读 · 0 评论 -
php 输出mysql数据库表结构
header('Content-Type: text/html; charset=utf-8'); $db_host='127.0.0.1'; $db_username='root'; $db_password='suibianba'; $db_database = 'information_schema'; $connection=mysql_connect($db_host,原创 2015-04-15 17:38:12 · 2361 阅读 · 0 评论 -
递归查找目录下的图片并加水印
header("Content-Type:text/html;charset=gb2312"); function setWater($imgSrc,$markImg,$markText,$TextColor,$markPos,$fontType,$markType) { $imgSrc = iconv("UTF-8","GB2312",$imgSrc); $src原创 2015-04-29 18:13:36 · 446 阅读 · 0 评论 -
php打水印图片
支持以图片和文字两种方式给图片添加水印。图片支持GIF,PNG,JPG三种格式,水印图片支持PNG和GIF function setWater($imgSrc,$markImg,$markText,$TextColor,$markPos,$fontType,$markType) { $srcInfo = @getimagesize($imgSrc); $srcImg转载 2015-04-29 15:32:30 · 366 阅读 · 0 评论