Sr. PHP Programmer Question: Download Senior PHP Programmer PDF

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 Senior PHP Programmer PDF Read All 202 Senior PHP Programmer Questions
Previous QuestionNext Question
How to create a session? How to set a value in session? How to Remove data from a session?What is the importance of "method" attribute in a html form?