Bug #9748 Updated: wrong behavior of is_dir() and is_file() on a dir-link
| From: | jmoore@php.net | Date: | Sun, 29 Apr 2001 09:57:41 +0000 |
| Subject: | Bug #9748 Updated: wrong behavior of is_dir() and is_file() on a dir-link | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-52861@lists.php.net to get a copy of this message | ||
ID: 9748
Updated by: jmoore
Reported By: fabiankessler@usa.net
Old-Status: Open
Status: Closed
Bug Type: *Directory/Filesystem functions
PHP Version: 4.0.4
Assigned To:
Comments:
windows shortcuts are files they are not directories, this is a problem with windows, not PHP.
- James
Previous Comments:
---------------------------------------------------------------------------
[2001-04-07 07:15:26] fabiankessler@usa.net
yes
---------------------------------------------------------------------------
[2001-03-20 17:25:17] ohrn@php.net
What do you mean with directory link?
A Windows "shortcut" to a directory?
---------------------------------------------------------------------------
[2001-03-14 11:11:38] fabiankessler@usa.net
on a directory link, is_dir() returns false while is_file() returns true.
i don't think this is the desired behavior, is it?
i see that ppl are confused here also
http://www.php.net/manual/en/function.is-dir.php
http://www.php.net/manual/en/function.is-file.php
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9748&edit=2