PHP curl_exec Function
(PHP 4 >= 4.0.2, PHP 5)
curl_exec — Execute a cURL session
Description
mixed curl_exec ( resource $ch )
Executes the given cURL session.
This function should be called after initializing a cURL session and setting all of its options.
Parameters
** ch**
A cURL handle returned by curl_init().
Return Value
Returns TRUE on success or FALSE on failure. However, if the CURLOPT_RETURNTRANSFER option is set, the function returns the result of the execution on success, and FALSE on failure.
Example
Fetch a web page
PHP cURL Reference Manual