Документ взят из кэша поисковой машины. Адрес оригинального документа : http://oit.cmc.msu.ru/php/function.curl-setopt.html
Дата изменения: Sun Feb 3 22:36:12 2002
Дата индексирования: Mon Oct 1 21:34:57 2012
Кодировка:
curl_setopt

curl_setopt

(PHP 4 >= 4.0.2)

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: