Sr. PHP Programmer Question:
Download Questions PDF

What is the use of header() function in php?


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 Interview Questions And Answers PDF

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?