一个白痴问题,总结下-rem表示注释:

start Firefox "http://网址"
rem start Firefox "http://网址"
start Firefox "http://网址"[......]

阅读全文

利用xmlhttp,获取远程网页的文件头,通常利用此功能可以检测网站运行是否正常。
以下是源码:

.版本 2
.局部变量 xmlhttp, 对象xmlhttp.创建 (“Microsoft.XMLHTTP”, )xmlhttp.方法 (“Open”, “HEAD”,[......]

阅读全文

由于工作中突然用到一个js,需要对指定的字符串进行正则替换,由于中间内容不固定,所以只能用正则来写,经过搜索整理,总结了一个示例如下:

var str="http://abc.com?xxxx&id=778";
str.replace(/h[......]

阅读全文

date("y-m-d h:i:s",time())

因为date函数非常强大,他完全可以胜任一切这样的工作 附个手册里的表,方便随时查阅 1 a – “am” 或是 “pm” 2 A – “AM” 或是 “PM” 3 d – 几日,二位数字,若不足二位则前面补零;[……]

阅读全文

<?php
示例网址:http://www.bsie.com/manage-product.php randbysupplier=8&page=1
echo $_SERVER["SERVER_NAME"];//获取当前的域名输出结果:www.bsie.com[......]

阅读全文