Update fetchCard.php
This commit is contained in:
parent
980a6287f9
commit
6a005fd277
|
@ -3,7 +3,7 @@ header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
|
|||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
if($_GET["pass"]!="737373737361113273") exit;
|
||||
$file = 'gdImg/archive/'.$_GET["id"].'.fi.jpeg';
|
||||
$file = 'gdImg/archive/'.preg_replace("/[^A-Za-z0-9 ]/", '', $_GET["id"]).'.fi.jpeg';
|
||||
$type = 'image/jpeg'; header('Content-Type:'.$type); header('Content-Length: ' . filesize($file));
|
||||
readfile($file);
|
||||
unlink($file);
|
||||
|
|
Loading…
Reference in New Issue
Block a user