update : 2015.11.03
php.shukuma.com검색:
|
curl_setopt_array(PHP 5 >= 5.1.3, PHP 7) curl_setopt_array — Set multiple options for a cURL transfer 설명
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(). 인수
반환값
Returns 예제
Example #1 Initializing a new cURL session and fetching a web page
<?php Prior to PHP 5.1.3 this function can be simulated with:
Example #2 Our own implementation of curl_setopt_array()
<?php 주의
|