ID: 19778
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Feature/Change Request
Operating System: any
PHP Version: 4.2.1
New Comment:
Blind shot - this is impossible because headers get sent as soon I they
are encountered and thus you can override them by sending one more yet
cannot remove what you have already sent. I might be wrong, though.
If I'm not then lots close this one.
Previous Comments:
------------------------------------------------------------------------
[2002-10-06 08:29:27] [EMAIL PROTECTED]
Sometimes it would be very handy to be able to remove a http header
that has already been set (for example, by the session module). Even
though header() allows me to replace a header, there is no way to
completely remove it.
Proposal:
header("Pragma:") could be used to remove a Pragma header - i.e. a
header given with no parms would remove the header.
Better:
New function like remove_header()
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19778&edit=1