note 79590 deleted from function.curl-setopt-array by felipe
| From: | felipe@php.net | Date: | Sun, 16 Dec 2007 01:21:38 +0000 |
| Subject: | note 79590 deleted from function.curl-setopt-array by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-133612@lists.php.net to get a copy of this message | ||
Note Submitter: marcellandeweerd at gmail dot com
----
//Not tested, but usefull for < PHP5
function curl_setopt_array ($ch , $options ) {
$bSucces = true;
foreach($options as $option=>$value) {
$bSucces = curl_setopt ($ch , $option , $value ) && $bSucces;
}
return $bSucces;
}