This article is based on RFC2616 (http/1.1 specification), referencehttp://www.w3.org/Protocols/rfc2068/rfc2068http://www.w3.org/Protocols/rfc2616/rfc2616Http://www.ietf.org/rfc/rfc3229.txtTypically HTTP messages include client-to-server request
This article is based on RFC2616 (http/1.1 specification), referencehttp://www.w3.org/Protocols/rfc2068/rfc2068http://www.w3.org/Protocols/rfc2616/rfc2616Http://www.ietf.org/rfc/rfc3229.txtTypically HTTP messages include client-to-server request
In this paper, according to RFC2616 (http/1.1 specification), reference
http://www.w3.org/Protocols/rfc2068/rfc2068
http://www.w3.org/Protocols/rfc2616/rfc2616
Http://www.ietf.org/rfc/rfc3229.txt
Typically, HTTP messages include the client's request
This article is based on RFC2616 (http/1.1 specification), referencehttp://www.w3.org/Protocols/rfc2068/rfc2068http://www.w3.org/Protocols/rfc2616/rfc2616Http://www.ietf.org/rfc/rfc3229.txtTypically HTTP messages include client-to-server request
Turn from: http://www.cnblogs.com/yizhenfeng168/p/7078480.htmlIn this paper, according to RFC2616 (http/1.1 specification), reference
http://www.w3.org/Protocols/rfc2068/rfc2068
http://www.w3.org/Protocols/rfc2616/rfc2616
Http://www.ietf.org/rfc/rfc3
The Header () function sends an original HTTP header [HTTP header] to the client.
The header is the string sent by the server before the server passes HTML data to the browser with HTTP co-meaning.
Separate HTML files with a blank line. For more
Header ("location:http://bbs.it-home.org";);
exit;//add "Exit" after each redirect to avoid errors and continue execution.
?>
Copy Code2,
Header ("refresh:2;url=http://bbs.it-home.org");
This article is based on RFC2616 (http/1.1 specification), referencehttp://www.w3.org/Protocols/rfc2068/rfc2068http://www.w3.org/Protocols/rfc2616/rfc2616Http://www.ietf.org/rfc/rfc3229.txtTypically HTTP messages include client-to-server request
header ()is used to send raw
HTTPHeaders. The http/1.1 specification for more information onHTTPHeaders.Example One:
Copy Code code as follows:
? Php
Header ("location:http://www.jb51.net";);
exit;//must add
Header ("location:http://bbs.it-home.org";);
Exit After each redirect, "Exit" must be added to avoid an error and continue execution.
?>
Header ("refresh:3;url=http://bbs.it-home.org");
Print (' Loading, please
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.