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 .