A Class for connecting to a caldav server
Class | Description |
---|---|
![]() |
A class for accessing DAViCal via CalDAV, as a client |
I bet you find this hard to believe, but having to write this hack really annoys the crap out of me. WTF! Why does PHP/Curl not have a function which simply accepts a string as what the request will contain. Oh no. They only think of "POST" and "PUT a file". Crap.
So the following PoS code accepts that it will be called, and asked for $length bites of the $fd (which we ignore, because we get it all from the $_...data variable) and so it will eat it's way through the data.
As documented in the comments on this page(!)
http://nz2.php.net/curl_setopt
Documentation generated on Tue, 18 Nov 2008 18:33:27 +1300 by phpDocumentor 1.3.2