WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

PHP 5 HTTP Functions


PHP HTTP Introduction

The HTTP capacities let you control data sent to the program by the Web server, before some other yield has been sent.


Installation

The HTTP capacities are a piece of the PHP center. There is no establishment expected to utilize these functions.


PHP 5 HTTP Functions

PHP: demonstrates the most punctual form of PHP that bolsters the capacity.

Function Description
header() Sends a crude HTTP header to a client
headers_list() Returns a rundown of reaction headers sent (or prepared to send)
headers_sent() Checks if/where the HTTP headers have been sent
setcookie() Defines a treat to be sent alongside whatever is left of the HTTP headers
setrawcookie() Defines a treat (without URL encoding) to be sent alongside the rest of the HTTP headers