Ben böyle bir PHP kod yazdı
$site="http://www.google.com";
$content = file_get_content($site);
echo $content;
Ben gelen "http://" kısmını kaldırın Ama $site Ben şu uyarıyı alıyorum:
Warning: file_get_contents(www.google.com) [function.file-get-contents]: failed to open stream:
Ben denedim try ve catch ama işe yaramadı.