Mesala arkadaşm bak bu konuya acıklık getireyim.Senin sorunu tam anlamadım ama anladıgım kadar ile anlatayım...

Mesala aşagıdaki gibi bir link var.Sen bu linkteki yönlendirilen adresi istiyorsun dimi ?*

http://www.gezginler.net/modules/myd...t.php?lid=2248

Mesala bu linke tıklayınca dogrudan download başlıyor sen tam bir download adresini istiyorsun...Yapman gereken şey aşagıda

Alıntı

<?

function kaynak($site){
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $site);
curl_setopt($ch, CURLOPT_HEADER, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$data = curl_exec($ch);
curl_close($ch);
return $data;}


echo kaynak("http://www.gezginler.net/modules/mydownloads/visit.php?lid=2248");


?>


Çıktı ise aşagıdaki gibi olur

Alıntı
HTTP/1.1 302 Found Date: Wed, 04 Feb 2009 10:21:06 GMT Server: Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8b mod_bwlimited/1.4 PHP/4.4.9 X-Powered-By: PHP/4.4.9 Referer : http://ftp.isu.edu.tw/pub/Windows/so...lcodec453f.exe Location: http://ftp.isu.edu.tw/pub/Windows/so...lcodec453f.exe Content-Length: 0 Content-Type: text/html
Gördügün gibi download linki header içinde kayıtlı.İmkansız degilmiş dimi ? php de imkansız kelimesi çok nadir geçen birşeydir