Re: AW: [PHP-DEV] file_exists() and safe_mode

2006-09-05 Thread Ilia Alshanetsky
On 5-Sep-06, at 11:45 AM, Matthias Pigulla wrote: So this is a documentation bug and there is no way to check beforehand whether an include($filepath) will succeed or not when safe_mode is on? Now there is (because of the change), before there was none. Do the check before, you'd need to

AW: [PHP-DEV] file_exists() and safe_mode

2006-09-05 Thread Matthias Pigulla
> 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" fil