Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
<?php
function convert($url)
{
$e = @end(explode(':',$url));
if (strlen($e) != 8)
return false;
$f = @file_get_contents('http://vbox7.com/etc/ext.do?key='. $e .'&antiCacheStamp='.time());
$e2 = @next(explode('&flv_addr=',$f));
$flv = @current(explode('&',$e2));
if (file_put_contents($e.'.flv',file_get_contents('http://'.$flv)))
{
exec('ffmpeg -i '. dirname(__FILE__).'/'.$e .'.flv '. dirname(__FILE__).'/'.$e .'.mp3');
unlink($e.'.flv');
return $e .'.mp3';
}
return false;
}
$e = convert('http://vbox7.com/play:471f1f39');
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate("D, d M Y H:i:s") . ' GMT');
header('Content-type: audio/mpeg');
header('Content-Transfer-Encoding: binary');
header('Content-Length: '.filesize($e));
header('Content-Disposition: attachment; filename='.$e);
echo file_get_contents($e);
?>