PHP curl_init Function
(PHP 4 >= 4.0.2, PHP 5)
curl_init — Initialize a cURL session
Description
resource curl_init ([ string $url = NULL ] )
Initializes a new session and returns a cURL handle for use with the curl_setopt(), curl_exec(), and curl_close() functions.
Parameters
** url**
If this parameter is provided, the CURLOPT_URL option will be set to this value. You can also set this value manually using the curl_setopt() function.
Return Value
Returns a cURL handle on success, or FALSE on error.
Example
Initialize a new cURL session and fetch a web page
PHP cURL Reference Manual