From dd233c07d3b848d2350c60d9b21856d8600ebaab Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Thu, 21 Apr 2005 10:22:44 +0000 Subject: [PATCH] Files can be included even if they don't 'exist' (bug #32286) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@184814 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/filesystem/functions/file-exists.xml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/reference/filesystem/functions/file-exists.xml b/reference/filesystem/functions/file-exists.xml index 8e235f233b..9604d1a049 100644 --- a/reference/filesystem/functions/file-exists.xml +++ b/reference/filesystem/functions/file-exists.xml @@ -1,5 +1,5 @@ - + @@ -43,6 +43,16 @@ if (file_exists($filename)) { ¬e.clearstatcache; &tip.fopen-wrapper.stat; + + + + This function returns &false; for files inaccessible due to safe mode retrictions. However these + files still can be included if + they are located in safe_mode_include_dir. + + See also is_readable, is_writable,