Bug #10700 Updated: unlink() doesn't like win/unc names
| From: | djanix at hotmail dot com | Date: | Tue, 23 Oct 2001 18:46:35 +0000 |
| Subject: | Bug #10700 Updated: unlink() doesn't like win/unc names | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-68872@lists.php.net to get a copy of this message | ||
ID: 10700
User updated by: djanix@hotmail.com
Reported By: djanix@hotmail.com
Status: Open
Bug Type: Feature/Change Request
Operating System: win32
PHP Version: 4.0 Latest CVS (2001-05-07)
New Comment:
how is it not a real filename ?!
[\\becker\c$\winnt\system32\dns]dir
Directory of \\becker\c$\winnt\system32\dns\*
10/19/2001 17:57 <DIR> .
10/19/2001 17:57 <DIR> ..
10/19/2001 17:57 <DIR> backup
9/18/2001 10:32 <DIR> generated
8/12/2001 15:58 72,681 boot
5/07/2001 1:43 61,681 BOOT.bak
6/01/2001 11:48 380 BOOT.template
8/12/2001 15:59 1,391 cache.dns
10/19/2001 17:57 0 dns.log
...
just in case there was some confusion...
Previous Comments:
------------------------------------------------------------------------
[2001-10-23 14:31:29] sander@php.net
The problem is that //becker/c$/winnt/system32/dns/BOOT is not a real filename.
Changing to feature request.
------------------------------------------------------------------------
[2001-05-07 07:12:13] djanix@hotmail.com
unlink( '//becker/c$/winnt/system32/dns/BOOT' );
or any other file with unc names gets
Warning: Unlink failed (Invalid argument)
THANKS FOR UNC SUPPORT in 4.0.6 !!!
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=10700&edit=1