What are some hidden tricks of PHP in putting timeout on the page and redirect it to another page?
相关问题
- Views base64 encoded blob in HTML with PHP
- Laravel Option Select - Default Issue
- PHP Recursively File Folder Scan Sorted by Modific
- Can php detect if javascript is on or not?
- Using similar_text and strpos together
You can use
sleep
on the server-side then redirect to another page withheader
. Or you can send an HTML page with<meta>
tag that specifies redirect location and delay time.Using sleep and header
Using
<meta>
tag