How to realize Page Jump in php
This article mainly introduces how to achieve page jump in php related knowledge, the content is detailed and easy to understand, simple and fast operation, has a certain reference value, I believe you read this php how to achieve page jump article will have a harvest, let's take a look at it.
1. Implement it in PHP script code
Header ("location:url address")? >
For example
Header ("location:helloworld.php")? >
The page jumps immediately because header performs a location redirection.
2. Delay the jump (for example, there will be a few seconds to wait after a successful login, and then jump to another page)
Header ("Refresh: seconds; url= address")? >
For example
Header ("Refresh:3;url=helloworld.php")? >
The jump will be performed in 3 seconds
Sleep (3); header ("location:url address")? this is the end of the article on "how to jump pages in php". Thank you for reading! I believe that everyone has a certain understanding of the knowledge of "how to achieve page jump in php". If you still want to learn more knowledge, you are welcome to follow the industry information channel.