WebDAV
| From: | Uwe Steinmann | Date: | Wed, 16 Dec 1998 11:09:04 +0000 |
| Subject: | WebDAV | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-2816@lists.php.net to get a copy of this message | ||
Hi everybody,
I tested out some of the WebDAV stuff in php3, and got stuck.
So far, I have been able to compile apache+mod_dav0.93+php3 with
mod_dav support and sitecopy as a client.
Some initial test with sitecopy has been succesful. I was able
to create a directory with
./testdav gehtnix 8001 mkcol /DAV/newdir
Now I would
like to test out the php3 support for dav but I seem to have a
general problem understanding how mod_dav and php3 cooperate.
I have written the following php3 script:
<?
function col_create($name){
echo "Vosicht: $name";
}
function col_test($name){
echo "Achtung: $name";
}
dav_set_mkcol_handlers("col_create", "col_test");
echo "ljdflasjflskfjalfjsflksjfsjfjasl";
?>
From my understandig 'col_create' is being called when a MKCOL request
is issued, but it looks like this is not the case.
Before I continue, could somebody give me a hint how to use dav in php3.
Maybe a working example script.
Uwe
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net