1if(!empty($_REQUEST["redir"])) {
2 echo "REDIRECTED\n";
3 return;
4}
5
6if(!empty($_REQUEST["loc"])) {
7 header("Location: index.php?redir=1");
8}
9
10if(!empty($_REQUEST["status"])) {
11 http_response_code($_REQUEST["status"]);
12}
13
14echo "HELLO!\n";