I just setup a new server and I admit that general server setup is not my strong point. I'm getting the following error when I try to use file_get_contents on a remote file:
Warning: file_get_contents(
http://www.yahoo.co.uk) [function.file-get-contents]: failed to open stream: Permission denied in /var/www/html/youlittlespunker/test.php on line 8
It works fine when I try to open a local file. I have enabled fopen thing in php.ini.
ANy ideas? I have been searching for a solution for awhile and I give up now.
Thanks