/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function file_get_contents_curl($url) { curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); //Set curl to return the data instead of printing it to the browser. return $data; }