07 2015 档案
unix 时间
摘要:from_unixtime()是MySQL里的时间函数mysql>SELECT FROM_UNIXTIME( 1249488000, '%Y%m%d' ) ->20071120mysql>SELECT FROM_UNIXTIME( 1249488000, '%Y年%m月%d' )->2007年11... 阅读全文
posted @ 2015-07-11 14:21 13m0n 阅读(159) 评论(0) 推荐(0)
Delimiter must not be alphanumeric or backslash 问题及解决
摘要:Warning: preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in 正则表达式没有加左右侧的斜线 阅读全文
posted @ 2015-07-10 12:36 13m0n 阅读(7946) 评论(0) 推荐(0)
[转]解决百度统计 gzdecode(): insufficient memory
摘要:百度统计APIgzdecode($preLogin->retData, strlen($preLogin->retData)) 这段代码会造成一个PHP警告内存不足,解决办法只要换个解压缩函数即可。gzdecode($preLogin->retData, strlen($preLogin->retD... 阅读全文
posted @ 2015-07-07 17:17 13m0n 阅读(428) 评论(0) 推荐(0)