Home > DeveloperSection > Interviews > What is use of header() function in PHP?

Posted on    August-24-2011 1:17 AM

 2 Answer(s)
  1702  View(s)
Rate this:

Arun Singh

Total Post:310

Posted on    August-24-2011 12:00 AM

The header() function sends a raw HTTP header to a client. We can use herder() function for redirection of pages. It is important to notice that header() must be called before any actual output is seen.

Ranveer Pratap

Total Post:1

Posted on    January-27-2013 1:00 AM

Header Function is basically used to navigate (or redirect) among the pages.

Don't want to miss updates? Please click the below button!

Follow MindStick