Programming Languages PHP Subjective
Nov 23, 2012

How to use HTTP Headers inside PHP?

Detailed Explanation

HTTP headers can be used in PHP by redirection which is written as:
<?header('Location: http://www.php.com')?> The headers can be added to HTTP response in PHP using the header(). The HTTP headers have to be sent before taking the output of any data. The statement above gets included at the top of the script.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback