I have a file storage project which I am attempting to make accessible via webdav, but do not know where to start. I first got the idea from gallery2. For the past 2 hours I have been searching Google to try and get an idea how to do this, with no avail. I found the PEAR HTTP_WebDAV_Server class, but it has not documentation or anything so I haven't a clue how to use it.

I would appreciate if someone could give me some input as to how this is done. Thanks.