I have a page called "download.php":
Code: Select all
<?php
$filename = $_GETї'file'];
$directory = "e;midi/"e;;
$path = "e;$directory$filename"e;;
if (file_exists($path) ) {
header("e;Content-type: audio/midi"e;);
readfile("e;$path"e;);
}
?>On a web browser, the MIDI-file opens and plays with the right name.
Is there any way to solve this?