Abhinav1994 Posted February 15, 2013 Share Posted February 15, 2013 $FBpage = file_get_contents('https://graph.facebook.com/EX/feed?access_token=EX'); this code works on my xampp but when i load this on live server of my website it gives me unable to open stream error Link to comment https://forums.phpfreaks.com/topic/274536-https-data-input/ Share on other sites More sharing options...
requinix Posted February 15, 2013 Share Posted February 15, 2013 What is the error message exactly? Link to comment https://forums.phpfreaks.com/topic/274536-https-data-input/#findComment-1412666 Share on other sites More sharing options...
Abhinav1994 Posted February 16, 2013 Author Share Posted February 16, 2013 the error displayed is- file_get_contents(https://graph.facebook.com/EX/feed?access_token=EX): failed to open stream: Permission denied in.. Link to comment https://forums.phpfreaks.com/topic/274536-https-data-input/#findComment-1412787 Share on other sites More sharing options...
AyKay47 Posted February 16, 2013 Share Posted February 16, 2013 Make sure that the allow_url_fopen option is enabled in the servers master php.ini file. Link to comment https://forums.phpfreaks.com/topic/274536-https-data-input/#findComment-1412825 Share on other sites More sharing options...
Abhinav1994 Posted February 17, 2013 Author Share Posted February 17, 2013 allow_url_fopen Is set ON in the php.ini on server Link to comment https://forums.phpfreaks.com/topic/274536-https-data-input/#findComment-1412882 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.