Junior PHP Developer Question:

Explain me what is the use of header() function in php?

Tweet Share WhatsApp

Answer:

The header() function sends a raw HTTP header to a client browser. Remember that this function must be called before sending the actual out put. For example, You do not print any HTML element before using this function.

Download Junior PHP Developer PDF Read All 161 Junior PHP Developer Questions
Previous QuestionNext Question
Tell me what is the use of the function htmlentities?Tell me what is the difference between ereg_replace() and eregi_replace()?