摘要:
header(location:你的上一页的路径); // 注意这个函数前不能有输出 header(location:.getenv("HTTP_REFERER")); // 返回其调用页面 echo"<script>alert('提交成功!');history.go(-1);</script>"; 阅读全文
posted @ 2020-07-06 09:53
Deer_Lin
阅读(1038)
评论(0)
推荐(0)
摘要:
一、获取当前时间戳 方法1:通过time函数 1 time(); 方法2:通过$_SERVER中的REQUEST_TIME元素 1 $_SERVER['REQUEST_TIME']; 方法3:通过strtotime函数 1 strtotime('now')); 二、获取当前时间 通过date函数格式 阅读全文
posted @ 2020-07-06 09:48
Deer_Lin
阅读(538)
评论(0)
推荐(0)

浙公网安备 33010602011771号