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