Re: PHP and WebDAV
| From: | Lukas Schroeder | Date: | Wed, 25 Jul 2001 14:27:35 +0000 |
| Subject: | Re: PHP and WebDAV | ||
| References: | 1 | Groups: | php.dev php.pear.dev |
| Request: | Send a blank email to php-dev+get-60952@lists.php.net to get a copy of this message | ||
On Wed, Jul 25, 2001 at 05:53:43AM +0100, Christoph Steinmann wrote:
> Are there any concrete plans to integrate functions or classes to access
> external WebDAV ressources? WebDAV seems to be used more and more to upload
> data, in replacement of FTP. It would be cool to have some functions to read
> and write files and directories over WebDAV.
>
> I don't know wheter WebDAV functions should be in a php extension (like file
> system and FTP) or in a PEAR class (HTTP). realberen@users.sourceforge.net
> has opened a project called phpdav on Sourceforge some months ago, but the
> files are not yet published.
Hello list(s),
some weeks ago i quickly wrote a simple php WebDAV module. The module
does everything i need(ed), and i'll probably not invest too much time
in the next weeks / months. Maybe someone is interested and wants to
take a look at it.
The download is available from http://www.azzit.de/phpwebdav/
The documentation can be found in the README file at that URL and in the
tarball.
I only tested / used it as a shared object/module under linux with
apache and PHP 404pl1, 405 and 406.
An example:
to list the files / collection in the dav-server's root:
<?
header("Content-type: text/plain");
$c = phpwebdav_connect("http://dav.local/"); // my
local WebDAV-Server
print_r(phpwebdav_list($c, "/"));
?>
regards,
lukas