[function.file-get-contents]: failed to open stream

inganta

New Member
\[code\]file_get_contents()\[/code\] is returning "failed to open stream" when I call it on a Facebook access_token URL. \[quote\] Warning: file_get_contents(https://graph.facebook.com/me?access_token=xxxxx) [function.file-get-contents]: failed to open stream: No such file or directory in /home/manorlog/public_html/index.php on line 109\[/quote\]If I try to manually hit the Facebook access_token URL it shows me my persional detailsI have also tried this code and verified it works:\[code\]$foo = file_get_contents('http://google.com');echo $foo\[/code\]Anyone have any ideas why \[code\]file_get_contents()\[/code\] is failing with the Facebook access_token URL?
 
Top