Re: REDIRECT ?

From: Date: Wed, 06 Sep 2000 14:28:08 +0000
Subject: Re: REDIRECT ?
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-2463@lists.php.net to get a copy of this message
Patrick: Are you using the header() function, before any text is actually sent to the browser ?, if anything goes to the browser before the use of header(), it won't work. Other option is to do the following: echo '<html>'; echo '<head>'; echo ' <meta http-equiv="refresh" content="0;URL=http://somepage.php3">'; echo ' <title>Some Title</title>'; echo '</head>'; echo '<body><br></body>'; echo '</html>'; The 0 in content="0;URL... is the number of seconds to wait before redirecting to the specified page. Saludos, Pablo Vera _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Wednesday, September 06, 2000, 7:35:57 AM, Patrick wrote: PS> With ASP we have response.redirect ......... PS> how can I do with PHP3 IIS on NT ? PS> header("location: somepage.php3"); don't work PS> thanks for you help PS> /-- Cyse Informatique --/ PS> Patrick SILVA PS> psilva@cyse.net PS> http://www.cyse.net PS> 105 avenue du Général LECLERC PS> 77400 Lagny sur Marne PS> Tél : (33) 1 64 30 32 32 PS> Fax: (33) 1 64 30 32 22 PS> /----------------------------------/

« previous php.windows (#2463) next »