ID: 45228 User updated by: nanawel at eyeos dot org Reported By: nanawel at eyeos dot org -Status: Feedback +Status: Open Bug Type: Filesystem function related Operating System: Windows PHP Version: 5.2.6 New Comment:
Except for the rmdir() function which fails on both Windows AND Linux platforms, all the paths provided in the previous comments are explicite Windows paths. You cannot use "C:\" or "C:/" or "file://C:/" or something else under Linux. That's why I've just changed the OS concerned by the issue from: * (all) to: Windows Thanks for your time. Previous Comments: ------------------------------------------------------------------------ [2009-01-07 14:18:50] [email protected] Confusing comments. Does unlink work on linux? Does unlink work on Windows? Does rmdir work on Windows? Does rmdir work on Windows? ------------------------------------------------------------------------ [2009-01-07 13:58:34] nanawel at eyeos dot org Just changed the OS concerned by the issue. ------------------------------------------------------------------------ [2008-07-14 20:08:57] nanawel at eyeos dot org Another great one: rmdir() DOES NOT WORK with the file:// scheme, AT ALL. Tested on Windows and Ubuntu 8.04 (both on PHP 5.2.6). ------------------------------------------------------------------------ [2008-06-10 16:46:19] nanawel at eyeos dot org A new set of problems: - mkdir() only works with file://C:/my/path and fails on file:///C:/my/path or file://localhost/C:/my/path - rmdir() DOES NOT WORK with file://C:/my/path or file:///C:/my/path or file://localhost/C:/my/path ------------------------------------------------------------------------ [2008-06-10 16:03:21] nanawel at eyeos dot org Additionnally, unlink() doesn't work either on URL like: file://localhost/C:/my/path and this is particularly _not_ normal. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/45228 -- Edit this bug report at http://bugs.php.net/?id=45228&edit=1
