Jump to content

File_Get_Contents Error With Facebbok Login Api


s4surbhi2218

Recommended Posts

Hi am using facebbok login API

my ini has following settings

"allow_url_include" is "On";

"allow_url_fopen" is On too

i have to do $url = urlencode($url);

if i do not use urlencode i get

Warning: file_get_contents() [function.file-get-contents]: Unable to find the wrapper "https" - did you forget to enable it when you configured PHP?

 

so after all this i have these warnings

Warning:file_get_contents("$url") [function.file-get-contents]: failed to open stream: No such file or directory

and

Warning: file_get_contents(urlencode($url2)) [function.file-get-contents]: failed to open stream: File name too long

 

any fixeses for this would be of great help.Thanks.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.