摘要: 不论是读写数据用内存作为中介会加快速度 通常缓冲有以下情况 按容量存储:数据先存到内存满100MB后在移到磁盘中 按时间存储:先存30秒的数据,30秒后吧数据移动到磁盘中 通常缓存有以下情况 读取数据:先将数据从磁盘移到内存然后从内存中读取数据 阅读全文
posted @ 2019-04-26 16:15 学画人生 阅读(490) 评论(0) 推荐(0) 编辑
摘要: 图片加水印 $dst_path = 'dst.jpg'; $src_path = 'src.jpg'; //创建图片的实例 $dst = imagecreatefromstring(file_get_contents($dst_path)); $src = imagecreatefromstring 阅读全文
posted @ 2019-04-26 10:34 学画人生 阅读(108) 评论(0) 推荐(0) 编辑