curl_setopt

 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.