By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,521 Members | 1,492 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,521 IT Pros & Developers. It's quick & easy.

PHP to implement WebDAV/CalDAV

P: n/a
Is it possible to use PHP to implement a WebDAV or CalDAV server?

My understanding is that PHP would get something in the HTTP headers and
respond accordingly. How would I do that?

Thanks,

Mark
Sep 14 '08 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Mark wrote:
Is it possible to use PHP to implement a WebDAV or CalDAV server?

My understanding is that PHP would get something in the HTTP headers and
respond accordingly. How would I do that?

Thanks,

Mark
Theoretically you could. But PHP would be the wrong language to try it in.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================

Sep 15 '08 #2

P: n/a
Mark wrote:
Is it possible to use PHP to implement a WebDAV or CalDAV server?

My understanding is that PHP would get something in the HTTP headers and
respond accordingly. How would I do that?

Thanks,

Mark
Did you try Google? There's a PEAR class that might interest you:

<URL:http://pear.php.net/package/HTTP_WebDAV_Server>

Like Jerry said, PHP is probably not the best way to implement a
WebDAV server.

--
Curtis
Sep 15 '08 #3

P: n/a
Mark wrote:
Is it possible to use PHP to implement a WebDAV or CalDAV server?
I once wrote a WebDAV handler in PHP. PHP was running under Apache.
When requesting the URL
http://www.example.org/myscript.php/file
my script would parse the URL and serve the right file. The script was
called on any request (PUT, GET, FOO) without any special Apache or
PHP configuration. The request method is then in
$_SERVER['REQUEST_METHOD'].
Sep 15 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.