pourquoi mettre un exit après un header("location ...
Posté : 27 janv. 2012, 11:51
hello
pourquoi mettre un exit après un header("location ...
genre
pourquoi mettre un exit après un header("location ...
genre
if($requireSSL && $_SERVER['SERVER_PORT'] != 443) {
header("HTTP/1.1 301 Moved Permanently");
header("Location: https://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']);
exit();
}
merki