日常收集 用PHP建立txt文件,并写入文字内容 <?php $myfile = fopen("newfile.txt", "w") or die("Unable to open file!"); $txt = "Bill Gates\n"; ... 06月11日114php 建立 阅读全文
日常收集 php计算两个日期段相差时间 <?php $time1 = "2008-6-15 11:49:59";//第一个时间 $time2 = "2007-5-5 12:53:28";//第二个时间 $t1 = strtotime(... 06月09日105php 相差时间 阅读全文