Home » Interview » Technology

How to use HTTP Headers inside PHP? Write the statement through which it can be added?

Correct Answer: HTTP headers can be used in PHP by redirection which is written as: The headers can be added to HTTP response in PHP using the header() The response headers are sent before any actual response being sent 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

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion