Re: REDIRECT ?
| From: | Andy Hoffman | Date: | Wed, 06 Sep 2000 15:03:17 +0000 |
| Subject: | Re: REDIRECT ? | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-2473@lists.php.net to get a copy of this message | ||
Pablo Vera wrote:
> 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.
>
> 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
Also, make sure you add a carriage-return (I use two) on the end of your
header string...
header("location: somepage.php3\n\n");
--
Andy Hoffman
Web Developer
Bristol-Myers Squibb
email: andy.hoffman@bms.com