From f254a8b5816384da1fa7a3bb639232ecec582014 Mon Sep 17 00:00:00 2001 From: Alib Date: Wed, 24 Feb 2010 10:22:43 +0100 Subject: first try for mp3 streaming. Works but not secure at all. --- includes/inc_media.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'includes/inc_media.php') diff --git a/includes/inc_media.php b/includes/inc_media.php index 7c5f133..b871a42 100755 --- a/includes/inc_media.php +++ b/includes/inc_media.php @@ -91,6 +91,12 @@ else print " "; print "\r\n"; } + else if ( preg_match("'" .$fileext ." '", $audiotypes) + || preg_match("'" .$fileext ." $'", $audiotypes) + ) + { + print "
  • $value
  • \r\n"; + } } } } -- cgit v1.2.3