note 102619 added to function.header-remove
[email protected] Thu, 24 Feb 2011 11:53:15 -0800
| Newsgroups | php.notes |
|---|---|
| Message-ID | <[email protected]> |
if you want to remove header information about php version (x-powered-by), you can use:
header_remove('x-powered-by');
alternatively, if you don't have php 5.3 installed, you can do the same thing using "header" command:
header('x-powered-by:');
don't forget the ':' character at the end of the string!
----
Server IP: 69.147.83.197
Probable Submitter: 89.165.34.28
----
Manual Page -- http://www.php.net/manual/en/function.header-remove.php
Edit -- https://master.php.net/note/edit/102619
Del: integrated -- https://master.php.net/note/delete/102619/integrated
Del: useless -- https://master.php.net/note/delete/102619/useless
Del: bad code -- https://master.php.net/note/delete/102619/bad+code
Del: spam -- https://master.php.net/note/delete/102619/spam
Del: non-english -- https://master.php.net/note/delete/102619/non-english
Del: in docs -- https://master.php.net/note/delete/102619/in+docs
Del: other reasons-- https://master.php.net/note/delete/102619
Reject -- https://master.php.net/note/reject/102619
Search -- https://master.php.net/manage/user-notes.php