#23050 [Bgs]: Header Location error
| From: | mgf@php.net | Date: | Mon, 07 Apr 2003 10:06:40 +0000 |
| Subject: | #23050 [Bgs]: Header Location error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-37256@lists.php.net to get a copy of this message | ||
ID: 23050
Updated by: mgf@php.net
Reported By: tomas dot marklund at datortek dot orebro dot se
Status: Bogus
Bug Type: IIS related
Operating System: WinXP
PHP Version: 4.3.1
New Comment:
And, by the way, that was still not a valid Location header -- it has
to be:
header("Location: http://tomas/daniel/index.php");
with the space after Location:, as shown in Jay's example.
Previous Comments:
------------------------------------------------------------------------
[2003-04-07 04:48:13] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
It's not any PHP bug.
------------------------------------------------------------------------
[2003-04-07 02:24:38] tomas dot marklund at datortek dot orebro dot se
This is now reopened!!!!!
------------------------------------------------------------------------
[2003-04-07 01:44:59] tomas dot marklund at datortek dot orebro dot se
Now i've tried And it still doesen't work:
header("Location:http://tomas/daniel/index.php");
tomas is the domain. I still get this:
The specified CGI application misbehaved by not returning a complete
set of HTTP headers. The headers it did return are:
It must be a bug!
------------------------------------------------------------------------
[2003-04-05 06:35:53] tomas dot marklund at datortek dot orebro dot se
I thought i've tried that??! I'll try it again!
Thanks!
------------------------------------------------------------------------
[2003-04-04 12:45:00] jay@php.net
Use the full, absolute URI.
header("Location: http://www.example.com/foo.php");
The RFC:
http://www.w3.org/Protocols/rfc2616/rfc2616.html
J
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/23050
--
Edit this bug report at http://bugs.php.net/?id=23050&edit=1