# jaras (04.01.2014 / 15:35)
alibek_kz, Не пашет
$id = intval($_GET['id']);
$url = 'http://erovideo.mobi/save.php?id='.$id;
$get = get_headers($url, 1);
foreach($get as $t => $k){
if($t != 'Location'){
header($t.': '.$k);
}
}
header('Content-Disposition: attachment; filename='.$_SERVER['HTP_HOST'].'_'.basename($get['Location']));
readfile($get['Location']);