1. Use HTTP header information
That is, use PHP’s HEADER function. The function of the HEADER function in PHP is to issue control instructions to the browser that should be passed through the WEB server specified by the HTTP protocol, for example: declare the type of return information ("Context-type: xxx/xxx"), the attributes of the page (" No cache", "Expire") etc.
The method of redirecting to another page using HTTP header information is as follows:
have a space after there is a space after it. Sometimes it’s okay to leave it out, but for the sake of accuracy it’s better to add it.
2. Mark with HTML
Use HTML tags, that is, use REFRESH tags of META, for example:
Note: content="5; url='http://www.bkjia.com' " indicates the jump address and execution after 5 seconds.
3. Use script to implement
The best way to use headers is to make the page jump faster. It is not easy for users to visually detect the jump of the entire page, but only a partial change!