You can find out exactly how to install and use curl with php including a simple example here... http://www.php.net/curl