- 博客(2)
- 收藏
- 关注
原创 PHP图片压缩方法
/** * desription 压缩图片 * @param sting $imgsrc 图片路径 * @param string $imgdst 压缩后保存路径 */ private function compressedImage($imgsrc, $imgdst) { list($width, $height, $type) = getimagesize($imgsrc); $new_width = $width...
2021-11-19 15:47:46
3998
原创 一个实用的php数据库操作类
<?php header("Content-Type:text/html;charset=utf-8"); /** *php操作mysql的工具类 */ class Db{ private $_db = null;//数据库连接句柄 private $_table = null;//表名 private $_where = null;//where条件 private $_order = null;//order排序 private $_limit =.
2021-09-29 10:27:24
137
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人