会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
kevin
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
2017年3月21日
php图像处理链接
摘要: http://php.net/manual/zh/ref.image.php
阅读全文
posted @ 2017-03-21 12:50 kevinggk
阅读(118)
评论(0)
推荐(0)
2017年3月20日
FileOprSer.class.php(文件上传与下载类)
摘要: 10*1024*1024){ echo "过大"; return; } //返回的文件 header("Content-type: application/octet-stream"); //按照字节大小返回 header("Accept-Ranges...
阅读全文
posted @ 2017-03-20 18:37 kevinggk
阅读(297)
评论(0)
推荐(0)
SqlHelper.class.php+分页类方法
摘要: 1 conn= new mysqli(self::$host,self::$user,self::$password,self::$db); 11 if ($this->conn->connect_error){ 12 die("连接失败".$this->conn->connect_error); 13 ...
阅读全文
posted @ 2017-03-20 18:29 kevinggk
阅读(440)
评论(0)
推荐(0)
file写入方式 和copy
摘要: <?php //传统方式 $file_path="test2.txt"; if(file_exists($file_path)){ //如果是追加写入,则使用a+ //如果全新写入用w+ $fp=fopen($file_path,"a+"); $con="\r\n你好!"; for($i=0;$i<
阅读全文
posted @ 2017-03-20 16:09 kevinggk
阅读(244)
评论(0)
推荐(0)
file 读取方式
摘要: <?php //文件变量 $file_path="test.txt"; if(file_exists($file_path)){ //打开文件 $fp=fopen($file_path,"a+"); //读内容,输入 *****第一种读取方式 $conn=fread($fp, filesize($f
阅读全文
posted @ 2017-03-20 16:06 kevinggk
阅读(312)
评论(0)
推荐(0)
上一页
1
2
3
公告