--- ajay <[EMAIL PROTECTED]> wrote: > 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.
Use the Refresh header: header('Refresh: 10;URL=http://example.org/'); Hope that helps. Chris ===== Chris Shiflett - http://shiflett.org/ PHP Security - O'Reilly Coming mid-2004 HTTP Developer's Handbook - Sams http://httphandbook.org/ PHP Community Site http://phpcommunity.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php