ID: 45228
User updated by: nanawel at eyeos dot org
Reported By: nanawel at eyeos dot org
Status: Assigned
Bug Type: Filesystem function related
Operating System: *
PHP Version: 5.2.6
Assigned To: pajoze
New Comment:
Ok, to sum up:
- mkdir()
works with file://C:/my/path under Windows
FAILS with file:///C:/my/path under Windows
FAILS with file://localhost/C:/my/path under Windows
- rmdir()
FAILS with ALL file:// schemes under Windows and Linux
- unlink()
works with file://C:/my/path under Windows
FAILS with file:///C:/my/path under Windows
FAILS with file://localhost/C:/my/path under Windows
I think I didn't forget anything, hope this helps.
Previous Comments:
------------------------------------------------------------------------
[2009-01-07 14:35:41] [email protected]
as the report is about both rmdir and unlink, the issue is not windows
specific. Will take care of it.
------------------------------------------------------------------------
[2009-01-07 14:27:53] nanawel at eyeos dot org
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.
------------------------------------------------------------------------
[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).
------------------------------------------------------------------------
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