|
curl_setopt_array
Set multiple options for a cURL transfer
(PHP 5 >= 5.1.3)
Sets multiple options for a cURL session. This function is useful for setting a large amount of cURL options without repetitively calling curl_setopt(). Parameters
Return Values
Returns ExamplesExample 436. Initializing a new cURL session and fetching a web page<?php Prior to PHP 5.1.4 this function can be simulated with: Example 437. Our own implementation of curl_setopt_array()<?php
See Also
|