Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Programming > Libraries

    PHP WebDAV extension 1.2

    Download button

    No screenshots available
    Downloads: 512  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Very Good (4.0/5)
    1 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Frank DENIS | More programs
    BSD License / FREE
    June 12th, 2010, 20:49 GMT [view history]
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    PHP WebDAV extension description

    Allows easy access to remote resources with PHP through the DAV protocol

    PHP WebDAV extension project allows easy access to remote resources with PHP through the DAV protocol.

    Installation

    This extension requires the Neon library and the related header files.

    Neon can be downloaded from: http://www.webdav.org/neon/
    Pre-built packages and ports are already available for most operating systems and distributions.

    In order to compile and install the PHP WebDAV extension, just follow the standard PECL procedure :

    phpize
    ./configure --enable-dav
    make install


    On OpenBSD systems, use

    env AUTOCONF_VERSION=2.61 phpize

    (replace 2.61 with any of the currently installed versions of autoconf on your system)

    Basic example

    webdav_connect('http://webdav.example.com/dav', 'davuser', 'davpassword');
    $a = webdav_get('/my/nice/object.txt');
    webdav_put('/your/nice/thing.txt', $data);
    webdav_unlink('/unwanted_resource.txt');
    webdav_rename('/dir/old_name', '/dir/new_name');
    webdav_copy('/dir/orig_dir', '/dir/new_dir', TRUE);
    webdav_close();


    Named resource example

    $res = webdav_connect('http://webdav.example.com/dav', 'davuser', 'davpassword');
    $a = webdav_get('/my/nice/object.txt', $res);
    webdav_put('/your/nice/thing.txt', $data, $res);
    webdav_unlink('/unwanted_resource.txt', $res);
    webdav_rename('/dir/old_name', '/dir/new_name', $res);
    webdav_copy('/dir/orig_dir', '/dir/new_dir', TRUE, $res);
    webdav_close($res);



    Product's homepage

    What's New in This Release: [ read full changelog ]

    · Fixes against segmentation faults on close, that especially happened when PHP was used with the fcgi or fpm SAPI.

      


    TAGS:

    PHP library | WebDAV extension | remote resources | PHP | WebDAV | extension



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM