Re: header() problem
| From: | Jukka Pakkanen | Date: | Fri, 28 Dec 2001 15:44:08 +0000 |
| Subject: | Re: header() problem | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-11177@lists.php.net to get a copy of this message | ||
Thanks Mike, but still no luck. Nothing happens. No errors, no redirects, no nothing :(
----- Original Message -----
From: "Mike Flynn" <mike@mikeflynn.net>
To: "Jukka Pakkanen" <jukka.pakkanen@qnet.fi>
Cc: <php-windows@lists.php.net>
Sent: Friday, December 28, 2001 5:03 PM
Subject: Re: [PHP-WIN] header() problem
> At 02:46 PM 12/28/2001 +0200, you wrote:
> >Running NT4sp6a and PHP4.1.0.
> >
> >I try to redirect the browser to a new location [<? header("Location:
> >http://www.qnet.fi"); ?>], but nothing happens in
> >the browser. There are no
> >extra spaces, CR's, LF's or anything, and output_buffers are on in the
> >php.ini.
> >
> >Any ideas??
> >
> >I run in to this problem when trying to run some software which is known to
> >work, and now I tested it with a simple test.php (above). Don't work.
>
> Try:
> <?php
>
> header("Location: http://www.qnet.fi/\r\n\n");
> exit();
>
> ?>
>
>
>