#20488 [Com]: is_dir(), Warning: Unable ...
| From: | half-dead at nospam dot net | Date: | Mon, 18 Nov 2002 22:52:59 +0000 |
| Subject: | #20488 [Com]: is_dir(), Warning: Unable ... | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-25227@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:
Nope not in safe mode at least, now i simply get a ref to the php doc
page with the warning (4.3RC1):
is_dir("non existing directory...");
Warning: is_dir() [http://www.php.net/function.is-dir]: Unable to
access "non existing directory..." in "whatever.php" on line "xx"
--------
Again, this only happens if safe mode is turned ON
Previous Comments:
------------------------------------------------------------------------
[2002-11-18 16:03:08] derick@php.net
Okay, it looks like this is fixed in CVS. Can you try the windows
snapshot @ http://snaps.php.net/~edink/php-4.3.0RC1-Win32.zip
?
Derick
------------------------------------------------------------------------
[2002-11-18 15:56:09] half-dead@nospam.net
is_dir("nonexisten directory.....");
result:
Warning: Unable to access "nonexisten directory....." in "whatever.php"
on line "xx"
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
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/20488
--
Edit this bug report at http://bugs.php.net/?id=20488&edit=1