Using cURL starts with a set of three functions, curl_init(), curl_setopt() and curl_exec().

<?php
$ch 
curl_init ('http://www.php.net/');
curl_setopt ($chCURLOPT_RETURNTRANSFER1);
$data curl_exec ($ch);
curl_close ($ch);

print 
$data;
?>