Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

PHP HTTP function


May 11, 2021 PHP


Table of contents


PHP HTTP function

The HTTP function allows you to manipulate relevant information.


Introduction to PHP HTTP

The HTTP function allows you to manipulate information sent to your browser by a web server before other output is sent.


Installation

HTTP functions are part of the PHP core. These functions can be used without installation.


PHP HTTP function

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


PHP HTTP constant

No.