摘要: <?phpdefine('DS','/');define('A_PATH',str_replace('\\','/',dirname(__FILE__)).DS); //01获取到主程序目录class a {public $app,$controller,$action,$class,$client 阅读全文
posted @ 2016-03-25 16:23 小庄啊 阅读(433) 评论(0) 推荐(0) 编辑
摘要: 短信验证码 2分钟后失效 echo(strtotime("+2 minutes")); 把里面的字符串--转换成时间戳 把date()格式的字符串,转换成时间戳后.才能进行加减处理$yesterday = '2016-2-16 12:10:10';//把这个字符串--转换成时间戳指定时间的2分钟后s 阅读全文
posted @ 2016-03-25 10:39 小庄啊 阅读(299) 评论(0) 推荐(0) 编辑