Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.0RC8

Bug #13771 Client append to a file doesn't work
Submitted: 2008-04-25 00:12 UTC
From: hholzgra Assigned:
Status: Open Package: HTTP_WebDAV_Server (version CVS)
PHP Version: Irrelevant OS:
Roadmaps: 1.2    
Subscription  


 [2008-04-25 00:12 UTC] hholzgra (Hartmut Holzgraefe)
Description: ------------ Found while fixing http://pear.php.net/bugs/13229 Works fine in mod_dav but fails with HTTP_WebDAV_Server Test script: --------------- <?php require_once "HTTP/WebDAV/Client.php"; $name = "webdav://localhost/file.php/bug13229.txt"; $fp = fopen($name, "w"); fwrite($fp, "test line one\n"); fclose($fp); echo file_get_contents($name); echo "--------\n"; $fp = fopen($name, "a"); fwrite($fp, "test line two\n"); fclose($fp); echo file_get_contents($name); ?> Expected result: ---------------- test line one -------- test line one test line two Actual result: -------------- test line one -------- test line two

Comments