#22178 [NEW]: file_exists() outputs warnings if file does not exist
| From: | marchart at marchart dot at | Date: | Tue, 11 Feb 2003 22:01:51 +0000 |
| Subject: | #22178 [NEW]: file_exists() outputs warnings if file does not exist | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-32826@lists.php.net to get a copy of this message | ||
From: marchart@marchart.at
Operating system: solaris8
PHP version: 4.3.0
PHP Bug Type: Filesystem function related
Bug description: file_exists() outputs warnings if file does not exist
The function "file_exists()" causes following PHP warning
on solaris8, if the file does not exist.
If the file exists the function works correctly.
Warning: file_exists() [function.file-exists]: Unable to access ...
On linux with the same setup (php 4.3.0 and apache 1.3.27)
it works fine! (The sun is a mirror from the linux box)
Best Regards
Johannes
--
Edit bug report at http://bugs.php.net/?id=22178&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22178&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22178&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22178&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22178&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22178&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22178&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22178&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22178&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22178&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22178&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22178&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22178&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22178&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22178&r=gnused