note 98786 added to function.header-remove
| From: | rwagener11 at gmail dot com | Date: | Wed, 07 Jul 2010 22:16:05 +0000 |
| Subject: | note 98786 added to function.header-remove | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-170772@lists.php.net to get a copy of this message | ||
FYI: This function does not support an array or multiple entries
header_remove(array("X-Powered-By","Expires")); // doesn't work
header_remove("X-Powered-By","Expires"); // doesn't work
Spent the time verifying if it was similar to the unset() command which allows.
unset($a,$b);
----
Server IP: 192.41.42.26
Probable Submitter: 99.105.75.173
----
Manual Page -- http://www.php.net/manual/en/function.header-remove.php
Edit -- https://master.php.net/note/edit/98786
Del: integrated -- https://master.php.net/note/delete/98786/integrated
Del: useless -- https://master.php.net/note/delete/98786/useless
Del: bad code -- https://master.php.net/note/delete/98786/bad+code
Del: spam -- https://master.php.net/note/delete/98786/spam
Del: non-english -- https://master.php.net/note/delete/98786/non-english
Del: in docs -- https://master.php.net/note/delete/98786/in+docs
Del: other reasons-- https://master.php.net/note/delete/98786
Reject -- https://master.php.net/note/reject/98786
Search -- https://master.php.net/manage/user-notes.php