Re: WebDAV

From: Date: Thu, 17 Dec 1998 16:39:34 +0000
Subject: Re: WebDAV
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-2832@lists.php.net to get a copy of this message
Uwe Steinmann wrote: > > 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. Try this: <Location /DAV> DAV off php3_dav_script /path/to/your/dav.php3 </Location> (This approach will change, though.) - Stig -- Stig S. Bakken Guardian Networks AS - mailto:ssb@guardian.no Trondheim, Norway http://www.pvv.org/~ssb/ http://www.guardian.no/ -- 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

« previous php.dev (#2832) next »