php中header()实现页面跳方法_PHP教程
header实现302临时重定向
代码如下 | 复制代码 |
Header("HTTP/1.1 302 Found"); Header("Location: http://www.hzhuti.com"); |
header实现404无法找到页面
代码如下 | 复制代码 |
Header("HTTP/1.1 404 Not Found"); |
一下函数可实现各种状态的跳转:
代码如下 | 复制代码 |
/** |
推荐阅读
-
php使用ffmpeg向视频中添加文字字幕的实现方法
-
php中header()实现页面跳方法_PHP教程
-
PHP中对用户身份认证实现两种方法
-
php获取数组元素中头一个数组元素值的实现方法,php数组_PHP教程
-
过滤掉PHP数组中的重复值的实现代码_PHP教程
-
thinkphp浏览历史功能实现方法,thinkphp历史_PHP教程
-
php获取post中的json数据的实现方法
-
php实现html标签闭合检测与修复方法,php标签_PHP教程
-
PHP file_put_contents()实现批量下载图片文件和css中图片代码_PHP教程
-
php中实现用数组妩媚地生成要执行的sql语句,数组sql_PHP教程