0

I am geting function.file-get-contents failed to open when i try to connect with server , my server fails to connect ,same application work in all server but in my server i am getting this error , Any solution , is that server CONFIG Issue ..

YOU CAN CHECK SERVER Config here http://gomandi.com/phpinfo.php

1 Answers1

0

In the last few days I saw a few complaints about file_get_contents not working well when trying to access facebook api using it.

Take a look at these threads:

You might find out what's wrong there. I suggest that you try to use something other than file_get_contents, such as curl, which was suggested in those threads as well (along side some code snippets)

Community
  • 1
  • 1
Nitzan Tomer
  • 155,636
  • 47
  • 315
  • 299
  • Problem is i am not getting any error , app is only buffering and token changing every second , you can check this at yuplee.in/fbapps/attract/ – Tarun Kumar Mar 10 '12 at 04:18
  • Can you show code? What do you mean by "app is only buffering"? – Nitzan Tomer Mar 10 '12 at 10:44
  • Our Server is Using session.use_cookies = 0 is this responsible for this problem.. App only buffering means ..App api keep on changing and fails to connect with my server. – Tarun Kumar Apr 01 '12 at 08:35
  • You are using a lingo which is unknown to me. "App api keep changing"? What does that mean? And who fails to connect with your server? Anyway, if you want real help, you'll need to modify your original question and add the CODE to it. – Nitzan Tomer Apr 01 '12 at 09:01