Problem Statement
What does the PHP header() function do?
Explanation
The header function sends raw HTTP headers to the browser before any output. It’s commonly used for redirection and setting content type.
Code Solution
SolutionRead Only
header('Location: login.php');