Re: Redirecting A Webpage

From: Date: Thu, 18 Nov 2004 16:18:53 +0000
Subject: Re: Redirecting A Webpage
Groups: php.windows 
Request: Send a blank email to php-windows+get-24995@lists.php.net to get a copy of this message
i use javascript such as: <head> <script language="JAVASCRIPT"> function changePage() { location = "http://www.whereever.com/nextpage.php" } </script> </head> <body> <script language="JAVASCRIPT"> setTimeout("changePage()",10000) </script> </body> the setTimeout function waits for 10 seconds (10,000 milliseconds) before redirecting. i have some standard html code on the site that says something about "this webpage has been changed, please update your bookmark, blah, blah, you will be redirected momentarily." hth > I would like to setup an index.php file to redirect to another .php file > as soon as it is invoked, like [response.redirect] does in Active Server > Pages. Does anyone know this cammand off the top of their head? Thanks > in advance. :) > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.windows (#24995) next »