PHP: header_remove

This function will remove all headers set by PHP, including cookies, session and the X-Powered-By headers.

This is an extremely handy function for serving a stale cache version of a page while generating and storing a fresh response from the server at the same time.

via PHP: header_remove – Manual.

Leave a Reply