Re: PHP REDIRECT

From: Date: Mon, 16 Feb 2004 16:38:21 +0000
Subject: Re: PHP REDIRECT
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-177825@lists.php.net to get a copy of this message
--- ajay <abra9823@mail.usyd.edu.au> 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/

« previous php.general (#177825) next »