What’s the difference between the function "HTTP_redirect" and "header location" in PHP ?
When must I use the function "HTTP_redirect" ?
When must I use the function "header location" ?
Look that:
https://php.net/manual/en/function.http-redirect.php –> Manual for HTTP_redirect
https://php.net/manual/en/function.header.php –> Manual for the function header
http_redirectis basically a helper function, making it easier to useheader locationby allowing you to pass an array for GET data.