#22499 [Fbk->Opn]: is_dir doesn't always work
| From: | itamarc at rogers dot com | Date: | Sun, 02 Mar 2003 17:50:19 +0000 |
| Subject: | #22499 [Fbk->Opn]: is_dir doesn't always work | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-34623@lists.php.net to get a copy of this message | ||
ID: 22499
User updated by: itamarc at rogers dot com
Reported By: itamarc at rogers dot com
-Status: Feedback
+Status: Open
Bug Type: Filesystem function related
Operating System: windows xp
PHP Version: 4.3.1
New Comment:
the is_dir is supposed to come back true if reading a directory and
false if not. it doesn't. it always comes back false.
if used as (not)!is_dir then it works right most of the time but still
give the wrong answer for some directories.
Previous Comments:
------------------------------------------------------------------------
[2003-03-02 05:00:20] msopacua@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
Let's see an example script, along with a directory listing. Keep it
short please.
------------------------------------------------------------------------
[2003-03-01 18:00:30] itamarc at rogers dot com
is_dir doesn't work unless I use it as !is_dir and even then a few
directories are still read as files.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22499&edit=1