<object id="audioplayer02" type="application/x-shockwave-flash" data="http://site.ru/players/uppod.swf" width="890" height="55"><param name="bgcolor" value="#ffffff" /> <param name="allowScriptAccess" value="always" /> <param name="movie" value="http://site.ru/players/uppod.swf" /> <param name="flashvars" value="uid=audioplayer02&comment=webCafeFile&st=http://site.ru/players/style/audio142-809.txt&file=http://site.com/webCafe/deep/Alya_PacienT_MIX_11_Deep_Techno.mp3" /> </object>
<?php if (isset($_GET['d']) && chdir(dirname(__FILE__)) && file_exists($_GET['d'])) { header('Content-Disposition: attachment; filename="'.$_GET['d'].'"'); header('Content-Length: ' . filesize($_GET['d'])); header("Content-Type: application/force-download"); header("Content-Type: application/octet-stream"); header("Content-Type: application/download"); header("Content-Description: File Transfer"); //скачивание echo file_get_contents($_GET['d']); } else { header($_SERVER["SERVER_PROTOCOL"] . ' 404 Not Found'); header('Status: 404 Not Found'); } ?>