From dbbee91caa9d05d625bc7775d0a019c6bff00901 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Fri, 23 Mar 2007 16:10:05 +0000 Subject: [PATCH] Doesn't use effective UID (bug #40535) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@232443 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/filesystem/functions/file-exists.xml | 8 +++++++- reference/filesystem/functions/is-readable.xml | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/reference/filesystem/functions/file-exists.xml b/reference/filesystem/functions/file-exists.xml index 85ee7c0c43..b3ffc9dbf0 100644 --- a/reference/filesystem/functions/file-exists.xml +++ b/reference/filesystem/functions/file-exists.xml @@ -1,5 +1,5 @@ - + @@ -53,6 +53,12 @@ if (file_exists($filename)) { linkend="ini.safe-mode-include-dir">safe_mode_include_dir. + + + + The check is done using the real UID/GID instead of the effective one. + + See also is_readable, is_writable, diff --git a/reference/filesystem/functions/is-readable.xml b/reference/filesystem/functions/is-readable.xml index 5b093bd4d2..ac536b174f 100644 --- a/reference/filesystem/functions/is-readable.xml +++ b/reference/filesystem/functions/is-readable.xml @@ -1,5 +1,5 @@ - + @@ -43,6 +43,12 @@ if (is_readable($filename)) { &tip.fopen-wrapper.stat; + + + The check is done using the real UID/GID instead of the effective one. + + + See also is_writable, file_exists, and