(PHP 4 >= 4.0.2, PHP 5, PHP 7)
Set an option for a cURL transfer
bool curl_setopt ( resource $ch, int $option, mixed $value )
Sets an option on the given cURL session handle.
Parameters:
ch
A cURL handle returned by curl_init().
option
The CURLOPT_XXX option to set.
value
The value to be set on optio