标签:刷新 turn fresh header fun res refresh class ade
public function index() { $b = date(‘Y-m-d H:i:s‘); header(‘refresh:10‘); $c = strtotime($b); $d = strtotime(‘2019-02-15 16:34:00‘); if($c > $d){ header(‘Location: http://www.baidu.com‘); } return $b; }
标签:刷新 turn fresh header fun res refresh class ade
原文地址:https://www.cnblogs.com/Json159/p/10384495.html