Name

header_remove

Synopsis

void header_remove([string header])

If header is specified, removes the HTTP header with named header from the current response. If header is not specified, or is an empty string, removes all headers generated by the header() function from the current response. Note that the headers cannot be removed if they have already been sent to the client.

Get Programming PHP, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.