وظائف HTTP في PHP

PHP HTTP Introduction

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

Installation

HTTP functions are an integral part of PHP's core. These functions can be used without installation.

PHP 5 HTTP Functions

Function Description
header() Send the original HTTP headers to the client.
headers_list() Return a list of the sent (or to be sent) response headers.
headers_sent() Check if HTTP headers have been sent or where they have been sent.
setcookie() Define cookies sent along with the rest of the HTTP headers.
setrawcookie() Define cookies sent along with the rest of the HTTP headers (without URL encoding).