会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
li-long
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
2017年4月20日
a链接点击下载图片到本地(php)
摘要: $url="http://pan.baidu.com/share/qrcode?w=150&h=150&url=http://gandao.my".U('Question/index',array('id'=>$id)); //图片路径$file_name = time().'.png'; //保存
阅读全文
posted @ 2017-04-20 08:48 li-long
阅读(1871)
评论(0)
推荐(0)
2017年4月19日
PHP 常用的header头部定义汇总
摘要: <?phpheader('HTTP/1.1 200 OK'); // ok 正常访问header('HTTP/1.1 404 Not Found'); //通知浏览器 页面不存在header('HTTP/1.1 301 Moved Permanently'); //设置地址被永久的重定向 301he
阅读全文
posted @ 2017-04-19 16:48 li-long
阅读(386)
评论(0)
推荐(0)
2017年4月7日
thinkphp3.2接入支付宝支付接口(PC端)
摘要: 下载支付宝接口包 点击这里 提取密码:aryp 整个接口核心类文件 alipay.config.php是相关参数的配置文件 alipayapi.php 是支付宝接口入口文件 notify_url.php 是服务器异步通知页面文件; return_url.php 是页面跳转同步通知文件; 第一步: 把
阅读全文
posted @ 2017-04-07 15:10 li-long
阅读(6734)
评论(0)
推荐(0)
2017年4月5日
thinkphp3.2.3多图上传并且生成多张缩略图
摘要: html部分 <!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>图片上传</title></head><body><form enctype="mu
阅读全文
posted @ 2017-04-05 14:06 li-long
阅读(4456)
评论(0)
推荐(0)
2017年3月16日
利用<meta http-equiv="refresh" content="0;URL=?id='.$id.'" />一条一条的更新数据
摘要: <meta http-equiv="refresh" content="0;URL=?id='.$id.'" /> 解释:页面定时刷新,后面加url,重新定向指定的url网页,content后面的参数是时间(单位秒),0表示没有延时,然后直接跳转到后面url,把0改成1则延时1秒后跳转。 上面url
阅读全文
posted @ 2017-03-16 08:54 li-long
阅读(766)
评论(0)
推荐(0)
上一页
1
2
3
公告