摘要:
1 iconv("GBK", "UTF-8", $str);//将GBK编码转换成UTF8编码 阅读全文
摘要:
1 /*友好时间*/ 2 public function frendlyTime($timeStr){ 3 $timeNow=time(); 4 $timePoor=$timeNow-$timeStr;//时间差 5 $dayPoor=intval(date("z",$timeNow)) - intval(date("z",$ti... 阅读全文