Re: [PHP-DEV] PHP and WebDAV

2001-07-25 Thread Lukas Schroeder


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). [EMAIL PROTECTED]
 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


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] PHP and WebDAV

2001-07-25 Thread Peter Petermann

hey lukas, ho list,

  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). [EMAIL PROTECTED]
  has opened a project called phpdav on Sourceforge some months ago, but the
  files are not yet published.
 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.
well, i just had a quick look on it,
it seems to give php the ability to work as WebDAV client, 
but real intresting would be the other way,
let handle the server part. Rasmus talked to me about
this on LinuxTag in Germany, maybe someone reading this has the
time doing that?

- Peter

-- 
*ZIMT - where PHP meets needs*
Homepage: www.cyberfly.net - [EMAIL PROTECTED]
PHP Usergroups: www.phpug.de - [EMAIL PROTECTED]
Just for Fun: www.fist-center.de - [EMAIL PROTECTED]

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]