i am using 'codeigniter-facebook-google-login' library
Fatal error: Call to undefined function stream_context_get_params() in /application/libraries/oauth2/Provider.php on line 203
the code is as following.......
$opts = array('http' => array('method' => 'POST', 'header' => 'Content-type: application/x-www-form-urlencoded', 'content' => http_build_query($params),));
$_default_opts = stream_context_get_params(stream_context_get_default());
$context = stream_context_create(array_merge_recursive($_default_opts['options'], $opts));
$response = file_get_contents($url, false, $context);
$return = json_decode($response, true);
my php version is 5.4.38 on server as per the php document stream_context_get_params is supported greater than the 5.3.0v
any one know what is the problem or alternative of the problem...