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");
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
Generally, the headers of all pages on our website are similar to those at the bottom, so we can put these similar codes into a file and load the header and the bottom file in each template file, in this way, we do not need to write the header and
What is header information?Here is only a simple explanation, detailed look at the HTTP protocol.In the HTTP protocol, the server-side answer (response) consists of two parts: header information (headers) and body content, where the header
Cause Analysis and Solution of PHP Header failure, header cause analysis
When using header ("location: test. PHP") in php to redirect, pay attention to the following points:
1. There must be no space between location and:. Otherwise, an error will
Header ("location:http://www.php.net";);
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 wait .
Header usage
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.
Solution to the seo title of a single web page in phpcms, and the title of phpcmsseoSource: www.bayinmao.comPhpcms v9 single page calls seo META Title and seo META KeywordsBecause seo META Description is called on a single page by default, you can
This article provides a detailed analysis of HTTP message header webpage cache control and common header commands, for more information, see "Cache-control" in the HTTP message header, common values include private, no-cache, max-age, and
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.