Difference between revisions of "PHP header"
From Wiki @ Karl Jones dot com
Karl Jones (Talk | contribs) (url) |
Karl Jones (Talk | contribs) (etc) |
||
Line 1: | Line 1: | ||
In [[PHP]], the '''header''' function is used to send a raw [[HTTP header field|HTTP header]]. | In [[PHP]], the '''header''' function is used to send a raw [[HTTP header field|HTTP header]]. | ||
− | The header function is useful for a variety of tasks, | + | The header function is useful for a variety of tasks, such as redirecting the user to specific [[Uniform resource locator|URL]]. |
== External links == | == External links == |
Revision as of 13:46, 29 July 2015
In PHP, the header function is used to send a raw HTTP header.
The header function is useful for a variety of tasks, such as redirecting the user to specific URL.
External links
- header @ php.net
- How to make a redirect in PHP? @ Stack Overflow