echo curl("http://xooplate.com/templates/download/11610");
function curl($urele){
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $urele);
    curl_setopt($ch, CURLOPT_HEADER, 0);
    curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
	curl_setopt( $ch, CURLOPT_HEADER, true );
	curl_setopt( $ch, CURLOPT_NOBODY, true );
     curl_setopt($ch, CURLOPT_TIMEOUT, 30);

    $data= curl_exec($ch);
    curl_close($ch);
    return $data;
}
ykarıdaki şekilde sınuç alamadım ya da ben bir yerlerde yanlış yapıyorum.