Manuál PHP | ||
---|---|---|
PÅ™edcházejÃcà | Dalšà |
curl_setopt_array
Popis
bool curl_setopt_array ( resource ch, array options )Sets multiple options for a cURL session. This function is useful for setting a large amount of cURL options without repetitively calling curl_setopt().
Seznam parametrů
ch
A cURL handle returned by curl_init().
options
An array specifying which options to set and their values. The keys should be valid curl_setopt() constants or their integer equivalents.
Návratové hodnoty
Returns TRUE if all options were successfully set. If an option could
not be successfully set, FALSE is immediately returned, ignoring any
future options in the options
array.
PÅ™Ãklady
Prior to PHP 5.1.4 you can simulate this function with:
PÅ™edcházejÃcà | Domů | Dalšà |
curl_multi_select | Nahoru |