<?
// initialize curl
$ch = curl_init();
// set the URL and other option
curl_setopt($ch, CURLOPT_URL, "http://www.example.com/");
curl_setopt($ch, CURLOPT_HEADER, 0);
// get the URL and pass it to the browser
curl_exec($ch);
// close the initialized curl
curl_close($ch);
?>
No comments:
Post a Comment