php开发了四年了,中间使用过node,python,自学过java,但主要工作还是使用的php。在市场不好的情况下,随着创业公司愈发难做,保守、运营、稳定成为了主流企业的旋律。php本身就是个...
<?php//这个类似用来获取访客信息的//方便统计class visitorInfo{ //获取访客ip public function getIp() { ...
最近做账单这块,经常会碰到strtotime结合-1 month, +1 month, next month的问题, 然后就会觉得这个函数有点不那么靠谱, 因为大小月的原因,动不动就出问题. 用...
('a'=1 and 'b'=2) or ('c'=3 and 'd'=4) and 'e'=5$where_1['a'] = 1;$where_1['b'] = 2;$where_2['c']...
PHP 标准的日期格式date("Y-m-d H:i:s");PHP 简单的日期加减计算<?php date_default_timezone_set('PRC'...