bool curl_setopt ( resource $ch , int $option , mixed $value )
Sets an option on the given cURL session handle.
Returns TRUE on success or FALSE on failure.