It's not clearly specified whether to use an array with formatted
headers or an associative array (ala HttpRequest::addHeaders()) and I
figure this is worth an example for clarity.
Cheers,
Patrick
Index: reference/curl/functions/curl-setopt.xml
==
I've been using this function reference for years, and was surprised to
find that if I read closely, above each table for the various values to
pass in, the type of the value is specified. I'd never read the page
closely enough to realize that the options are grouped by type; I think
it might
ocbook and made
two patches to the curl_setopt page, so I'm ready to go! (As a result
I'd like to update the page "The quicky",
http://doc.php.net/php/dochowto/article.thequicky.exceptions.php , which
contains a small mistake.)
Cheers,
Patrick van Staveren
http://trick.vanstaveren.us/