DB类
一个非常简单实用的数据库操作类了,这里面主要功能是数据库连接,查询数据,删除数据,更新数据等等,这个类的特点时不限制mysql而是直接执行由外部给出的sql语句了。
PHP 处理图片的类实现代码,需要的朋友可以参考下。
PHP图片处理类 phpThumb参数用法介绍,需要的朋友可以参考下
主要介绍了PHP数据库处理封装类,结合完整实例形式分析了php基于mysqli封装的数据库连接及增删改查等操作,需要的朋友可以参考下
主要介绍了PHP实现的简单异常处理类,结合具体实例形式分析了php基于面向对象技术实现异常处理操作的相关实现技巧,需要的朋友可以参考下
分享一个php进行图像处理的函数类。 对于生成缩略图有两种方式:一种是直接按比例来压缩图片,另外一种是先裁剪再压缩的方式。等例压缩与裁剪压缩区别就在于: 等例压缩:能保证图片的宽长比例合理,且图片有
包含上传图片,支持多文件上传,允许上传的文件后缀 留空不作后缀检查,使用对上传图片进行缩略图处理,子目录名称 subType为custom方式后有效,上传文件保存路径,是否自动检查附件,存在同名是否覆
这是一个文件上传和图片处理类,可以置上传文件大小,重命名方式代表以时间命名,允许上传的文件扩展名,检查上传文件,创建目录,对图片进行生成缩略图,打水印等操作 ,默认编码为UTF8 ,需要GD库支持,取
近期需要做一些图像处理方面的学习和研究,首要任务就是选择一套合适的图像处理类库。于是参考其他类库自己编写了一个简单的,仅仅实现了指定文字内容创建图片(不支持中文)、创建验证码图片、创建缩略图,有需要的