Jump to content


File_Get_Contents Error With Facebbok Login Api

  • Please log in to reply
No replies to this topic

#1 s4surbhi2218

  • Members
  • PipPipPip
  • Advanced Member
  • 54 posts

Posted 29 December 2012 - 09:06 PM

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
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.
Have a great 2013!!

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users