摘要: function GetQueryString(name) { var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)"); var r = window.location.search.substr(1).match(reg); if(r!=null) 阅读全文
posted @ 2017-03-28 17:12 azcqwezxc 阅读(232) 评论(0) 推荐(0)
摘要: 例: * * * * * /usr/bin/curl http://www.a.com/script.php //通过url访问php脚本,相比下面方法效率低 * * * * * /usr/bin/php -f /var/www/web/script.php //通过本地php环境访问php脚本,如 阅读全文
posted @ 2017-03-28 10:21 azcqwezxc 阅读(153) 评论(0) 推荐(0)