ID:               16092
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Analyzed
 Bug Type:         Feature/Change Request
 Operating System: FreeBSD 4.2
 PHP Version:      4.1.2
 New Comment:

The problem is that when you use PHP as an Apache module, PHP is not in
control of the final headers.  Apache is.  Even if PHP didn't set a
content-type header, then Apache would add it.  So this feature request
really should be sent to the Apache project for an enhancement of the
Apache API.  The only time PHP is fully in control is when you run it
from the command line.


Previous Comments:
------------------------------------------------------------------------

[2002-03-15 12:04:12] [EMAIL PROTECTED]

No, I experimented with the header() function, but it does not do what
I need unless there is something about header() that is not
documented.
I need to be able to completely do away with all the conventional
headers.  Something along the lines of header_delete("Content-Type")
would be great! :)

I guess what I'm looking for is a mod_php4 equivalent of the -q switch
in the command line version of php.

------------------------------------------------------------------------

[2002-03-15 10:00:54] [EMAIL PROTECTED]

http://www.php.net/manual/en/function.header.php

You can replace headers..is this enough?

--Jani


------------------------------------------------------------------------

[2002-03-15 04:37:26] [EMAIL PROTECTED]

I would like the ability send raw headers to Apache or web client, or
at least to delete headers before they are sent to the client.

As a developer, it is important to me to have the freedom to determine
which headers I need for my particular application.  Having the
Content-Type header forced on me is really throwing a wrench in my
project.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=16092&edit=1

Reply via email to