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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.