PHP3 Manual | ||
---|---|---|
Prev | Next |
header -- Send a raw HTTP header
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 */
Prev | Home | Next |
Functions related to HTTP | Up | setcookie |