Ma ktoś jakiś pomysł?
Załączam kod:
<? function get_content($url) { $ch = curl_init(); curl_setopt ($ch, CURLOPT_URL, $url); curl_setopt ($ch, CURLOPT_HEADER, 0); curl_exec ($ch); curl_close ($ch); return $string; } $content = get_content ("htt://rapidshare.com/files/32805773/test.avi.html"); $matches = $matches[0]; $curl = curl_init($action); curl_setopt($curl, CURLOPT_FAILONERROR, 1); curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl, CURLOPT_TIMEOUT, 50); curl_setopt($curl, CURLOPT_POST, 1); curl_setopt($curl, CURLOPT_POSTFIELDS, 'dl.start=Free'); $r = curl_exec($curl); curl_close($curl); $komenda = "wget $link"; ?>