+++ /dev/null
-<?php\r
-\r
- require_once('config.php');\r
- \r
- $db=new PDO('sqlite:'.$dblocation);\r
- \r
- if(isset($_REQUEST['UUID']))\r
- {\r
- $st=$db->prepare("SELECT MimeType,PuzzleData FROM tblIntroductionPuzzleRequests WHERE UUID=?;");\r
- $st->bindParam(1,$_REQUEST['UUID']);\r
- $st->execute();\r
- \r
- if($record=$st->fetch())\r
- {\r
- $data=base64_decode($record[1]);\r
- header("Content-type: ".$record[0]);\r
- header("Content-Length: ".strlen($data));\r
- print $data;\r
- }\r
- }\r
-\r
-?>
\ No newline at end of file