0% found this document useful (0 votes)
35 views

PHP 5 HTTP Functions: Header Headers - List Headers - Sent Setcookie Setrawcookie

This document provides information on PHP HTTP functions. It lists header(), headers_list(), headers_sent(), setcookie(), and setrawcookie() functions, describing what each does such as sending HTTP headers, returning a list of response headers, checking if headers were sent, and defining cookies.

Uploaded by

Alex Mociran
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views

PHP 5 HTTP Functions: Header Headers - List Headers - Sent Setcookie Setrawcookie

This document provides information on PHP HTTP functions. It lists header(), headers_list(), headers_sent(), setcookie(), and setrawcookie() functions, describing what each does such as sending HTTP headers, returning a list of response headers, checking if headers were sent, and defining cookies.

Uploaded by

Alex Mociran
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

PHP 5 HTTP Functions

PHP: indicates the earliest version of PHP that supports the function.

Function Description
header() Sends a raw HTTP header to a client
headers_list() Returns a list of response headers sent (or ready to send)
headers_sent() Checks if / where the HTTP headers have been sent
setcookie() Defines a cookie to be sent along with the rest of the HTTP headers
Defines a cookie (without URL encoding) to be sent along with the rest of
setrawcookie()
the HTTP headers

You might also like