#20488 [Com]: is_dir(), Warning: Unable ...
| From: | half-dead at nospam dot net | Date: | Mon, 18 Nov 2002 21:56:10 +0000 |
| Subject: | #20488 [Com]: is_dir(), Warning: Unable ... | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-25224@lists.php.net to get a copy of this message | ||
ID: 20488
Comment by: half-dead@nospam.net
Reported By: half-dead@nospam.net
Status: Feedback
Bug Type: Directory function related
Operating System: winME
PHP Version: 4.2.3
New Comment:
is_dir("nonexisten directory.....");
result:
Warning: Unable to access "nonexisten directory....." in "whatever.php"
on line "xx"
Previous Comments:
------------------------------------------------------------------------
[2002-11-18 15:53:08] derick@php.net
What is the full error message?
------------------------------------------------------------------------
[2002-11-18 15:49:05] half-dead@nospam.net
If the dir doesn't exist it throws this warning ..but only in safe
mode, instead of simply returning false.
------------------------------------------------------------------------
[2002-11-18 15:46:27] derick@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.
------------------------------------------------------------------------
[2002-11-18 15:42:41] half-dead@nospam.net
is_dir() throws a Warning: Unable to access ....
But only when safe mode is turned on, instead of just returning false.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20488&edit=1