![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
http
文章平均质量分 77
montaellis
这个作者很懒,什么都没留下…
展开
-
控制浏览器缓存
<?php header('Expires: ' . gmdate('D, d M Y H:i:s', time()-1) . ' GMT'); header('Cache-Control: no-store no-cache must-revalidate'); echo gmdate('Y-m-d H:i:s'); echo '';转载 2014-05-12 20:29:21 · 716 阅读 · 0 评论 -
微信公众账户模拟登陆后的一系列操作
'公众账户名称','password'=>'密码'); * $obj=new wx_mass($user); * $obj->mass('感谢您关注优乐购物,这条消息是由测试程序发出,给你带来不便,敬请谅解!'); * * @package wxdl * @author 我好笨 * @copyright 2014 * @version $Id$ * @access public */class原创 2014-05-05 09:20:05 · 7320 阅读 · 0 评论 -
HTTP协议
<?php //get方式的请求行 //GET /test.php HTTP/1.1 //post方式的请求行 //POST /index.php?p=back&c=Admin&a=signin HTTP/1.1 //GET /test.php HTTP/1.1\r\n //Host:shop.100.com\r\n //User-Agent:firefox\r\n //\r\n $host转载 2014-05-12 23:37:02 · 2324 阅读 · 0 评论 -
PHP获取MAC地址
<?php /** 获取网卡的MAC地址原码;目前支持WIN/LINUX系统 获取机器网卡的物理(MAC)地址 **/ class GetMacAddr{ var $return_array = array(); // 返回带有MAC地址的字串数组转载 2014-06-14 12:13:47 · 949 阅读 · 0 评论 -
cURL
//1.初始化 $ch=curl_init(); //2.设置选项,包括URL $url="http://static.cnbetacdn.com/newsimg/2013/1107/70_1383785654.png_w600.png";//"http://www.php.net" curl_setopt($ch,CURLOPT_URL,$url); curl_setopt($ch,C转载 2013-11-07 11:15:06 · 527 阅读 · 0 评论