header_remove
Remove previously set headers
&reftitle.description;
voidheader_remove
stringname
Removes an HTTP header previously set using header.
&reftitle.parameters;
name
The header name to be removed.
This parameter is case-insensitive.
&reftitle.returnvalues;
&return.void;
&reftitle.examples;
Unsetting specific header.
]]>
&example.outputs.similar;
Unsetting all previously set headers.
]]>
&example.outputs.similar;
&reftitle.notes;
This function will remove all headers set by PHP,
including cookies, session and the X-Powered-By headers.
¬e.network.header.sapi;
&reftitle.seealso;
header
headers_sent