OLD | NEW |
---|---|
(Empty) | |
1 <?php | |
2 | |
3 if (!isset($_COOKIE["key"])) { | |
4 echo "FAIL: Cookie is not set"; | |
5 exit; | |
6 } | |
7 | |
8 if ($_GET["key"] == $_COOKIE["key"]) { | |
9 $fp = fopen("../../../../resources/Ahem.ttf", "rb"); | |
10 header("Content-type: application/octet-stream"); | |
11 header("HTTP/1.0 200 OK"); | |
12 fpassthru($fp); | |
13 } else { | |
14 echo "FAIL: Cookie: {$_COOKIE['key']}, Query: {$_GET['key']}"; | |
15 exit; | |
16 } | |
17 | |
18 ?> | |
OLD | NEW |