ajay wrote:
hi!

i'd like to redirect a person to another page but after a certain time interval
has elapsed. this is because i have a generic error displaying page and i would
like the person to go to this page, stay there for like 10 seconds and then be
redirected to the index page.

i was using header("url") to redirect the user.
but how do i get that to happen after a certain time interval.

thanks

regards


You can sleep() the script, but no output will be sent to the browser. If you want them to view the 'error' page, ie output to the browser for the user to read, you cannot use php to redirect them after that. Use JavaScript. PHP == ServerSide, JavaScript == ClientSide.


--
By-Tor.com
It's all about the Rush
http://www.by-tor.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to