curl_setopt
curl_setopt
(PHP 4 >= 4.0.2, PHP 5, PHP 7)
curl_setopt — Set an option for a cURL transfer
Description
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