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

From: Date: Tue, 05 Sep 2006 15:45:04 +0000
Subject: AW: [PHP-DEV] file_exists() and safe_mode
Groups: php.internals 
Request: Send a blank email to internals+get-25529@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. 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? Kind regards mp.

« previous php.internals (#25529) next »