I'm trying to execute a straightforward PHP call to load the contents of a web page:
$result = file_get_contents("http://www.google.com");
The result coming back is a strange file not found error:
Warning: file_get_contents(http://www.google.com): failed to open stream: No such file or directory in /var/www/html/test.php on line 5
Ben benim php.ini ve dizinde ayarı değiştirebilir yok. Htaccess dosyaları "On allow_url_fopen =" var. Herhangi bir fikir? Ben daha önce farklı sunucularda bu fonksiyon ile sorun vardı hiç.