On a professional Web platform, the user's account and password are often required, that is, the identity confirmation action. The early NCSAhttpd server did not provide this user validation function. the Webmaster can only create an identity
Use of the PHP header function
The cache of the Web page is controlled by the "Cache-control" in the HTTP message header, and the common values are private, No-cache, Max-age, must-revalidate, etc., and the default is private. Its function is
The webpage cache is controlled by the cache-control in the HTTP message header. common values include private, no-cache, Max-age, must-revalidate, etc. The default value is private http://www.jb51.net/article/34017.htm.
The function of browser
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
PHP + APACHE implementation of user arguments. On a professional Web platform, the user's account and password are often required, that is, the identity confirmation action. Early NCSAhttpd servers did not provide this user validation function. on
On the professional Web site, users often need the user's account number and password, that is, the action of identity recognition. The early NCSA httpd server did not provide this user-confirmed function, Webmaster can only manually create an
The cache of the Web page is controlled by the "Cache-control" in the HTTP message header, and the common values are private, No-cache, Max-age, must-revalidate, etc., and the default is private. Its function is divided into the following situations
On the professional Web site, users often need the user's account number and password, that is, the action of identity recognition. The early NCSA httpd server did not provide this user-confirmed function, Webmaster can only manually create an
On a professional Web platform, the user's account and password are often required, that is, the identity confirmation action. The early NCSAhttpd server did not provide this user validation function. the Webmaster can only create an identity
PHP + APACHE: how to implement user argumentation. Read the PHP + APACHE method to implement user argumentation. on a professional Web platform, the user's account and password are often required, that is, the identity confirmation action. The early
Whether you use PHP to open the browser cache or use the APACHE,IIS server environment to configure we will be for the browser Cache-control to operate, let me introduce you to PHP settings picture browser cache
Cache-control
Cache-control is the
The use of the PHPheader function's webpage Cache is controlled by the "Cache-control" in the HTTP message header, common values include private, no-cache, max-age, and must-revalidate. the default value is private. The function is divided into PHP
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");
On a professional web platform, the user's account and password are often required, that is, the Identity confirmation action. The early NCSA httpd server did not provide this user validation function. The Webmaster can only create an identity
This article is the HTTP Header page cache control and header commonly used instructions for a detailed analysis of the introduction, the need for friends to reference the
The caching of the Web page is controlled by the "Cache-control" in the
Its function is divided into the following kinds of situations according to different ways of re browsing:(1), open a new windowValue is private, No-cache, and Must-revalidate, the server will be accessed again when a new window is opened.If the Max-
Apache| argues that in a professional Web site, users often need the user's account number and password, that is, identity confirmation action. The early NCSA httpd server did not provide this user-confirmed feature, and webmaster only had to
Sometimes, to hide the truth, we define the file as a header and then download the readfile, but this will increase the burden on the server. Generally, we do not recommend downloading large files.
Sometimes, to hide the truth, we define the file as
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.