function jquery_social_stream_curl_get_contents in jQuery social stream 7.2
1 call to jquery_social_stream_curl_get_contents()
- jquery_social_stream_facebook_callback in ./
jquery_social_stream.js.inc - Facebook callback for social stream.
File
- ./
jquery_social_stream.js.inc, line 192 - JS callbacks.
Code
function jquery_social_stream_curl_get_contents($url) {
$ch = curl_init();
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_URL, $url);
$data = curl_exec($ch);
curl_close($ch);
return $data;
}