#21496 [Opn->Bgs]: Header weirdness
| From: | edink@php.net | Date: | Wed, 08 Jan 2003 12:12:17 +0000 |
| Subject: | #21496 [Opn->Bgs]: Header weirdness | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-29441@lists.php.net to get a copy of this message | ||
ID: 21496
Updated by: edink@php.net
Reported By: liz@xcalibur.demon.co.uk
-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] liz@xcalibur.demon.co.uk
Its not 'bogus'
------------------------------------------------------------------------
[2003-01-08 05:18:40] liz@xcalibur.demon.co.uk
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] edink@php.net
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] liz@xcalibur.demon.co.uk
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] liz@xcalibur.demon.co.uk
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