WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

PHP 5 HTTP Functions


Introduction to PHP HTTP

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


Installation

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


PHP HTTP functions

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

Function description PHP
header () Sends the original HTTP header to the client. 3
headers_list () Returns a list of sent (or pending) response headers. 5
headers_sent() Check if the HTTP headers are sent /where they have been sent. 3
setcookie () Send an HTTP cookie to the client. 3
setrawcookie () Do not URL encode the cookie value and send an HTTP cookie. 5