Easy Tutorial
❮ Php Variables Func String Sha1 ❯

PHP HTTP Functions


Introduction to PHP HTTP

HTTP functions allow you to manipulate the information sent by the web server to the browser before any other output is sent.


Installation

HTTP functions are part of the PHP core. No installation is required to use these functions.


PHP HTTP Functions

PHP: Indicates the earliest PHP version that supports the function.

Function Description PHP
header() Sends a raw HTTP header to the client. 3
headers_list() Returns a list of response headers sent (or ready to send). 5
headers_sent() Checks if/where HTTP headers have been sent. 3
setcookie() Sends an HTTP cookie to the client. 3
setrawcookie() Sends an HTTP cookie without URL encoding the cookie value. 5

PHP HTTP Constants

None.

❮ Php Variables Func String Sha1 ❯