Leosghost

msg:4391571 | 4:14 am on Nov 28, 2011 (gmt 0) |
Search for "meta refresh" ( you don't need to use PHP to do what you want..there are various other ways )..HTH :)
|
penders

msg:4391620 | 11:45 am on Nov 28, 2011 (gmt 0) |
Or... JavaScript timer event to change the location.href? You could use PHP to write out the meta refresh (or the JavaScript) but PHP itself cannot do this. If you use JavaScript you could perhaps allow the user to 'pause' the redirection if required?
|
omoutop

msg:4391676 | 3:23 pm on Nov 28, 2011 (gmt 0) |
sleep(10); header("Location: page-two.htm");
As long as there is no output to screen, this should work. If you want to redirect user after the page loads, then only javascript can provide you with a solution.
|
g1smd

msg:4391765 | 7:51 pm on Nov 28, 2011 (gmt 0) |
Keep-alive may not keep the connection open for that long. Your redirect also returns a 302 status.
|
|