How to realize the jump with seconds in php
Xiaobian to share with you how php to achieve jump and with seconds, I believe most people still do not know how to share this article for your reference, I hope you have a lot of harvest after reading this article, let's go to understand it together!
php to achieve jump and with the number of seconds: 1, through the "header("Refresh: seconds;url= address ")" way to achieve jump;2, through the sleep method to achieve jump with seconds can be.
Operating environment: Windows 7 system, PHP7.1 version, DELL G3 computer
How does php jump and take seconds?
Delayed jump (for example, after successful login, there will be a few seconds of waiting time, and then jump to other pages)
For example, the jump will be executed after 3 seconds, and the sleep() method will be called, and the effect will be executed after x seconds
The above is "php how to achieve jump and with seconds" all the content of this article, thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to the industry information channel!