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