I want to be able to write events from a PHP application into an Apache-based WebDAV server. Does anyone know of some good classes or libraries that will help me do this?

Thanks,
Jim Miller

    http://www.google.com/search?q=webdav+PHP

    First hit is (not surprisingly, to www.webdav.org, which says

    PEAR is the PHP Extension and Application Repository, and includes the package HTTP_WebDAV_Server which implements a WebDAV server.

    Do that yourself in the first place and save yourself nearly two hours' waiting for someone else to do it for you.

      Thanks, but you misunderstood my question. I don't want to implement a WebDAV server in PHP -- as my original note said, I already have my Apache installation running dav_module quite nicely. What I want is to be able to get my PHP application to write calendar events into that WebDAV server, so that iCal and other WebDAV-compatible calendar programs can read and display them.

      I've been all over webdav.org and other sites, and can't find anything to help. I can deduce the content of a WebDAV calendar file from iCal, and I guess I can just create a calendar file and publish it to the server with WebDAV. But I was really hoping that there was a class out there that would let me write something like:

      $theCal = $webdav->createCalendar(...);
      $theCal->addEvent(...);

      and so on.

      Any further thoughts?

        Write a Reply...