Merhabalar,

Bir linki tarayıcıda açtığımda sorun olmuyor, link çalışıyor ama file_get_contents ile açmaya çalıştığımda bad request hatası alıyorum.

Nasıl kullanıyorum;

Alıntı
<?php
$site = file_get_contents('http://www.link.com');
echo $site;
?>
Gelen Hata;

Alıntı
Bad Request

HTTP Error 400. The request is badly formed.
Sizce problem nedir?