Removed old code
This commit is contained in:
parent
35bd438141
commit
b931f12906
|
@ -13,7 +13,6 @@ if (!function_exists('getallheaders')) {
|
||||||
}
|
}
|
||||||
$headers = getallheaders();
|
$headers = getallheaders();
|
||||||
$f = file_get_contents($_FILES['file']['tmp_name']);
|
$f = file_get_contents($_FILES['file']['tmp_name']);
|
||||||
$f=explode("\n",file_get_contents("php://input"));
|
|
||||||
$AUTH="3";
|
$AUTH="3";
|
||||||
file_put_contents("dump.txt",$f,FILE_APPEND);
|
file_put_contents("dump.txt",$f,FILE_APPEND);
|
||||||
if(trim($headers["Authorization"])!=$AUTH) echo "UNAUTHORIZED";
|
if(trim($headers["Authorization"])!=$AUTH) echo "UNAUTHORIZED";
|
||||||
|
|
Reference in New Issue
Block a user