PHP3 Manual
PrevNext

header

header -- Send a raw HTTP header

Description

int header(string string);

The Header() function is used at the top of an HTML file to send raw HTTP header strings. See the HTTP 1.1 Specification for more information on raw http headers. Remember that the Header() function must be called before any actual output is sent either by normal HTML tags or from PHP.

Header("Location: http://www.php.net");  /* Redirect browser to PHP web site */


PrevHomeNext
Functions related to HTTPUpsetcookie