header(location:你的上一页的路径); // 注意这个函数前不能有输出 header(location:.getenv("HTTP_REFERER")); // 返回其调用页面 echo"<script>alert('随便写点什么');history.go(-1);</script>"; //-2为后退两页
header(location:你的上一页的路径); // 注意这个函数前不能有输出 header(location:.getenv("HTTP_REFERER")); // 返回其调用页面 echo"<script>alert('随便写点什么');history.go(-1);</script>"; //-2为后退两页
转载于:https://www.cnblogs.com/mo3408/p/10655215.html