top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What the Limitation of HEADER() function in php?

+2 votes
571 views
What the Limitation of HEADER() function in php?
posted Oct 6, 2014 by Vrije Mani Upadhyay

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

In PHP Important to notice the Limitation of HEADER() function is that header() must be called before any actual output is send. Means must use header function before HTML or any echo stateament
There are Number of Use of HEADER() function in php like below
1> The header() function use to sends a raw HTTP header to a client.
2> We can use herder() function for redirection of pages.
3> Use for refresh the page on given time interval automatically.
4> To send email header content like cc, bcc , reply to etc data and lot more .

answer Oct 8, 2014 by Rahul Singh
...