curl_setopt

(PHP4 CVS only)

curl_setopt -- Set an option for a CURL transfer

Description

bool curl_setopt (int ch, string option, mixed value)

The curl_setopt() function will set options for a CURL session identified by the ch parameter. The option parameter is the option you want to set, and the value is the value of the option given by the option.

The value should be a long for the following options (specified in the option parameter):

The value parameter should be a string for the following values of the option parameter:

The following options expect a file descriptor that is obtained by using the fopen() function:


Hosted by Tonec Inc.