博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
set header
阅读量:6912 次
发布时间:2019-06-27

本文共 745 字,大约阅读时间需要 2 分钟。

// See related links for more status codes // Use this header instruction to fix 404 headers// produced by url rewriting...header('HTTP/1.1 200 OK'); // Page was not found:header('HTTP/1.1 404 Not Found'); // Access forbidden:header('HTTP/1.1 403 Forbidden'); // The page moved permanently should be used for// all redrictions, because search engines know// what's going on and can easily update their urls.header('HTTP/1.1 301 Moved Permanently'); // Server errorheader('HTTP/1.1 500 Internal Server Error'); // Redirect to a new location:header('Location: http://www.example.org/'); // Redriect with a delay:header('Refresh: 10; url=http://www.example.org/');print 'You will be redirected in 10 seconds'; // you can also use the HTML syntax:// 

转载地址:http://lvncl.baihongyu.com/

你可能感兴趣的文章
jQuery的一个关键函数
查看>>
表单模型+安装目录+侵入表单模型
查看>>
系统如何端子app弄root才干
查看>>
HTML表格边框的设置小技巧
查看>>
jmeter ---模拟http请求/发送gzip数据
查看>>
POJ 2029--Get Many Persimmon Trees +DP
查看>>
Java——复选框:JCheckBox
查看>>
Effective OC : 1-5
查看>>
mock.js 使用教程
查看>>
查看mysql存储引擎
查看>>
Python网络资源 + Python Manual
查看>>
面试中经常会被问到的70个问题
查看>>
在VMware上面安装Solaris 10
查看>>
throw跟throws关键字
查看>>
Linq-批量删除方法
查看>>
关于微信网页调用js-sdk相关接口注意事项目(一级域名与二级域名互相干扰!!!)...
查看>>
第二十三节,不同数据类型在内存中的存址方式,及深浅拷贝
查看>>
PID入门的十五个基本概念
查看>>
用android模拟器Genymotion定位元素
查看>>
Navicat连接oracle,出现Only compatible with oci version 8.1 and&nb (转)
查看>>