|
Script Summary:
This downloads mixwit songs |
this script has 1 topic, 4 posts |
This script has no reviews. |
This is an alteration to the original script by Nemanja Stefanovic which allows you to download directly. I didn't like the way the original script directed the current page to the mp3 and then you had to click file>save. This does involve an external PHP script hosted on my site, so if you are paranoid you can host the PHP script on your own web server. The PHP code is:
list($name, $link) = split('&link=', $_SERVER['QUERY_STRING']);
$name = urldecode(html_entity_decode(substr($name, 5)));
$link = urldecode($link);
header('Content-type: audio/mpeg');
header('Content-Disposition: attachment; filename="'.$name.'.mp3"');
readfile($link);
If you end up hosting the PHP script yourself you will need to change line 41 in the GM script to reflect the new server.





