mirror of
https://github.com/php/php-src.git
synced 2024-10-01 14:56:10 +00:00
14 lines
236 B
PHP
14 lines
236 B
PHP
if(!empty($_REQUEST["redir"])) {
|
|
echo "REDIRECTED\n";
|
|
return;
|
|
}
|
|
|
|
if(!empty($_REQUEST["loc"])) {
|
|
header("Location: index.php?redir=1");
|
|
}
|
|
|
|
if(!empty($_REQUEST["status"])) {
|
|
http_response_code($_REQUEST["status"]);
|
|
}
|
|
|
|
echo "HELLO!\n"; |