How to redirect page after 5 minutes using php
You can not; PHP runs on the server, not on the client. After you display the web page to the client, you have no control over the page. An event with javascript, you can not guarantee that the user will redirect, because they can always not allow javascript or just leave your page.
After retrieving the webpage, you can set a timeout to redirect the user using javascript: see all other answers.
zzzzBov
source share