Re: file_exists() and safe_mode
| From: | Ilia Alshanetsky | Date: | Tue, 05 Sep 2006 15:31:20 +0000 |
| Subject: | Re: file_exists() and safe_mode | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-25528@lists.php.net to get a copy of this message | ||
I think the current behavior solves made old bug reports, where by people used is_readable() to see if they could read from a file, only to have the operation file due to safe_mode/open_basedir restrictions. Taking the check away would also mean it would be possible to "explore" file file system bypassing PHP's file system restrictions.
Ilia Alshanetsky