summaryrefslogtreecommitdiff
path: root/streammusic.php
diff options
context:
space:
mode:
Diffstat (limited to 'streammusic.php')
-rwxr-xr-xstreammusic.php18
1 files changed, 0 insertions, 18 deletions
diff --git a/streammusic.php b/streammusic.php
deleted file mode 100755
index 8dbcbfe..0000000
--- a/streammusic.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
-
-//set headers to mp3
-
-$mediapath = $_GET['mediapath'];
-$subdir = $_GET['subdir'];
-$file = $_GET['file'];
-
-header("Content-Transfer-Encoding: binary");
-header("Content-Type: audio/mp3");
-header('Content-length: ' . filesize($mediapath .$subdir .$file));
-header('Content-Disposition: attachment; filename="streaming.mp3"');
-header('X-Pad: avoid browser bug');
-Header('Cache-Control: no-cache');
-
-readfile($mediapath .$subdir .$file);
-
-?>