摘要:
http://blog.csdn.net/sasa12121212/article/details/54908305 <?php //本周一 echo date('Y-m-d', (time() - ((date('w') == 0 ? 7 : date('w')) - 1) * 24 * 3600)); //w为星期几的数字形式,这里0为周日 //本周日 echo date('Y-m-d... 阅读全文
posted @ 2018-01-29 22:56
码农编程进阶笔记
阅读(224)
评论(0)
推荐(0)
摘要:
http://blog.csdn.net/sasa12121212/article/details/54908305<?php//本周一echo date('Y-m-d', (time() - ((date('w') == 0 ? 7 : date(... 阅读全文
posted @ 2018-01-29 22:56
码农编程进阶笔记
阅读(37)
评论(0)
推荐(0)
摘要:
/si","",$str); //注释 $str=preg_replace("//si","",$str); //过滤DOCTYPE $str=preg_replace("//si","",$str); //过滤html标签 $str=preg_replace("//si","",$str); //过滤br标签 $str=preg_replace("//si","",$str); //过滤hea... 阅读全文
posted @ 2018-01-29 14:57
码农编程进阶笔记
阅读(175)
评论(0)
推荐(0)
摘要:
/si","",$str); //注释$str=preg_replace("//si","",$str); //过滤DOCTYPE$str=preg_replace("//si","",$str); //过滤html标签$str=preg_repla... 阅读全文
posted @ 2018-01-29 14:57
码农编程进阶笔记
阅读(17)
评论(0)
推荐(0)

浙公网安备 33010602011771号