[PHP-DOC] [patch] curl_setopt - add example for HTTPHEADER option

2010-04-21 Thread Patrick van Staveren
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 ==

[PHP-DOC] [patch] curl_setopt option table headings

2010-04-21 Thread Patrick van Staveren
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

[PHP-DOC] Subversion access to contribute documentation fixes

2010-04-20 Thread Patrick van Staveren
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/