May 11, 2021 PHP
The HTTP function allows you to manipulate relevant information.
The HTTP function allows you to manipulate information sent to your browser by a web server before other output is sent.
HTTP functions are part of the PHP core. These functions can be used without installation.
PHP: Indicates the earliest version of PHP that supports the function.
function | describe | PHP |
---|---|---|
header() | Send the original HTTP header to the client. | 3 |
headers_list() | Returns a list of the response header that has been sent (or or to be sent). | 5 |
headers_sent() | Check if the HTTP header is sent / sent. | 3 |
setcookie() | Send an HTTP cookie to the client. | 3 |
setrawcookie() | Do not encode the cookie value, send an HTTP cookie. | 5 |
No.