|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-08-15 11:51 UTC] hholzgra@php.net
[2000-08-17 04:58 UTC] stas@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Tue Mar 24 23:00:01 2026 UTC |
Calling header("location: *") should immediately send the header to the client (Or if not, flush() or something similar should force this. Documentation unclear). This does not happen. In the following case, the header only gets sent once script execution is finished. header("Location: http://www.blah.com"); flush(); In this case, however, the header gets sent immediately. header("Location: http://www.blah.com"); ECHO " "; flush(); This surely can't be the expected behaviour, since there shouldn't be any body in a redirect header response, and there must be a way to send a header immediately (I believe it worked in some previous versions).