Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

HTTP Headers

HTTP headers are extra information, exchanged between the server and the client, to configure further the network transaction.

They are separated from the content, which usually represents the HTML page, or the binary code of the image, archive.

HTTP headers have a name, and a value. They are made of ASCII text, and separated by a colon :

HTTP headers are the same with HTTPS.

HTTP headers are handled by the following functions: headers_sent(), headers_list(), header(), header_remove(), header_register_callback().

<?php

    function foo($a, $b) {
        return $a - $b;
    }

?>

Documentation

See Also