note 50986 added to function.file-exists
| From: | joe dot knall at gmx dot net | Date: | Tue, 15 Mar 2005 23:59:36 +0000 |
| Subject: | note 50986 added to function.file-exists | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-86505@lists.php.net to get a copy of this message | ||
concerning file_exists and safe_mode:
if safe_mode=ON and $file (in safe_mode_include_dir) is not owned by the user who executes
file_exists($file), file_exists returns FALSE but still $file can be included;
I could handle this by setting safe_mode_gid=On and appropriate group-ownership
----
Manual Page -- http://www.php.net/manual/en/function.file-exists.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+50986
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50986&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50986&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50986&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50986&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50986&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+50986&report=yes
Search -- http://master.php.net/manage/user-notes.php