Question:What is the use of header() function in php?
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. It is most frequently used to redirect request to get other file. example: The following code can be used for it, header("Location:index.php");
+ Report
What is the use of header() function in php?