ID: 21496
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Bogus
Bug Type: Output Control
Operating System: Linux
PHP Version: 4.3.0
New Comment:
The -q switch has always disabled all header output, not only default
headers. Just tested with 4.0.6 and 4.1.2. If you have found a piece of
documentation that states otherwise please reopen as documentation
problem.
Previous Comments:
------------------------------------------------------------------------
[2003-01-08 05:19:39] [EMAIL PROTECTED]
Its not 'bogus'
------------------------------------------------------------------------
[2003-01-08 05:18:40] [EMAIL PROTECTED]
It is a bug if it was the recommended way of overwriting headers and
you changed it and failed to tell anyone, so resulting in lots of
things stopping to work.
Either its a bug in your documentaiton or you changed a feature.
------------------------------------------------------------------------
[2003-01-07 17:42:48] [EMAIL PROTECTED]
php -q will stop output of all headers, not just default ones. So if
header() works when -q is not specified, this is not a bug.
------------------------------------------------------------------------
[2003-01-07 13:24:09] [EMAIL PROTECTED]
It seems this only occurs if you do -q to OVERRIDE the default headers,
eg, print your own rather than say text/html.... it doesnt print any of
them.... none at all! Even though you specifically asked for them. In
4.2 you did -q to suppress default headers but could print your own
------------------------------------------------------------------------
[2003-01-07 13:19:47] [EMAIL PROTECTED]
Oh - I meant to say this is using PHP as CGI, and no this wasnt the CLI
version this was deffinately the CGI one. I checked, a ton of times..
As I suddenly thought.
------------------------------------------------------------------------
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/21496
--
Edit this bug report at http://bugs.php.net/?id=21496&edit=1