February 2013
Intermediate to advanced
538 pages
20h 55m
English
header
void header(stringheader[, boolreplace[, inthttp_response_code]] )
Sends header as a raw HTTP header
string; must be called before any output is generated (including blank
lines—a common mistake). If the header is a
Location header, PHP also generates the appropriate REDIRECT status code. If
replace is specified and false, the header does not replace a header
of the same name; otherwise, the header replaces any header of the
same name.
Read now
Unlock full access