摘要: $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 阅读(1838) 评论(0) 推荐(0) 编辑
摘要: <?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 阅读(384) 评论(0) 推荐(0) 编辑
摘要: 下载支付宝接口包 点击这里 提取密码:aryp 整个接口核心类文件 alipay.config.php是相关参数的配置文件 alipayapi.php 是支付宝接口入口文件 notify_url.php 是服务器异步通知页面文件; return_url.php 是页面跳转同步通知文件; 第一步: 把 阅读全文
posted @ 2017-04-07 15:10 li-long 阅读(6410) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(4411) 评论(0) 推荐(0) 编辑
摘要: <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 阅读(711) 评论(0) 推荐(0) 编辑