diff options
Diffstat (limited to 'oworadio/source/index.php')
-rw-r--r-- | oworadio/source/index.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/oworadio/source/index.php b/oworadio/source/index.php new file mode 100644 index 0000000..4436bac --- /dev/null +++ b/oworadio/source/index.php @@ -0,0 +1,14 @@ +<?php
+
+$file = 'http://localhost:8000/public';
+
+header('Content-Description: File Transfer');
+header('Content-Type: application/octet-stream');
+header('Content-Transfer-Encoding: binary');
+header('Expires: 0');
+header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
+header('Pragma: public');
+ob_clean();
+flush();
+readfile($file);
+exit;
\ No newline at end of file |