How php delays redirecting pages
This article mainly introduces php how to delay the jump page, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
In PHP, you can delay the jump to the page by setting the code "header (" Refresh:5;url=index.php ");", where Refresh specifies the time to jump at a certain interval.
This article operating environment: windows7 system, PHP7.1 version, Dell G3 computer.
Php can set a lower delay jump when redirecting with header
The code is as follows:
Header ("Refresh:5;url=index.php")
Refresh: jump at regular intervals.
The header () function sends the original HTTP header to the client.
It is important to realize that the header () function must be called before any actual output is sent.
Thank you for reading this article carefully. I hope the article "how to delay the Jump Page of php" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!