Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

header_register_callback()

3 tags 1 category

header_register_callback() — Call a header function.

header_register_callback() — Registers a function that will be called when PHP starts sending output.

The callback is executed just after PHP prepares all headers to be sent, and before any other output is sent, creating a window to manipulate the outgoing headers before being sent.

Inputs: callback: Function called just before the headers are sent. It gets no parameters and the return value is ignored.

Returns: Returns true on success or false on failure.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…