note 79590 added to function.curl-setopt-array
| From: | marcellandeweerd at gmail dot com | Date: | Tue, 04 Dec 2007 18:55:19 +0000 |
| Subject: | note 79590 added to function.curl-setopt-array | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-132808@lists.php.net to get a copy of this message | ||
//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;
}
----
Server IP: 213.249.64.162
Probable Submitter: 130.89.164.68
----
Manual Page -- http://www.php.net/manual/en/function.curl-setopt-array.php
Edit -- https://master.php.net/note/edit/79590
Del: integrated -- https://master.php.net/note/delete/79590/integrated
Del: useless -- https://master.php.net/note/delete/79590/useless
Del: bad code -- https://master.php.net/note/delete/79590/bad+code
Del: spam -- https://master.php.net/note/delete/79590/spam
Del: non-english -- https://master.php.net/note/delete/79590/non-english
Del: in docs -- https://master.php.net/note/delete/79590/in+docs
Del: other reasons-- https://master.php.net/note/delete/79590
Reject -- https://master.php.net/note/reject/79590
Search -- https://master.php.net/manage/user-notes.php