HTTP Functions
Installation
The directory functions are part of the PHP core. There is no installation needed to use these functions.
PHP: indicates the earliest version of PHP that supports the function.
Code
<B>header()</b>:
Sends a raw HTTP header to a client {3}</code>
<code><b>headers_list()</b>:
Returns a list of response headers sent (or ready to send) {5} </code>
<code><b>headers_sent()</b>:
Checks if / where the HTTP headers have been sent{3}</code>
<code><b>setcookie()</b>: Sends an HTTP cookie to a client {3} </code>
<code><b>setrawcookie()</b>:
Sends an HTTP cookie without URL encoding the cookie value {5}