tags:

views:

29

answers:

0

i write this code for downloading from rapidshare.com but it does not work ,why?

//rapidshare.com/files/229854091/Travian-Server-PHP-Script.zip

$file_id = '229854091'; $file_name = 'Travian-Server-PHP-Script.zip';

$URL = 'http://api.rapidshare.com/cgi-bin/rsapi.cgi?sub=download_v1&fileid='.$file_id.'&filename='.$file_name;

$reply = file_get_contents($URL); echo $reply;