|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-07-28 19:15 UTC] fhggfj at hg dot fd
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 15:00:01 2025 UTC |
Description: ------------ I have apache 2.0.50 on linux mandrake 10.1. I had php 4.3.8, now I've installed 4.3.10 by urpmi. Then I got the mentioned problem, when I use header("location: ...), the header is sended in the response, but the HTTP 302 sended in 4.3.8 is now a HTTP 200. Try whatever script that you want, with a location like a full or relative URL. Best Regards, Reproduce code: --------------- <? header("location: www.google.com"); die; ?> Expected result: ---------------- HTTP/1.x 302 found Location: www.google.com ...more headers Actual result: -------------- HTTP/1.x 200 OK Location: www.google.com ...more headers