[PHP-DOC] Bug #18332 Updated: is_readable/is_writable/is_executable support under safe mode From: yohgaki <email protected>
Date: 07/15/02

 ID: 18332
 Updated by: yohgaki <email protected>
 Reported By: ilia <email protected>
 Status: Open
-Bug Type: Feature/Change Request
+Bug Type: Documentation problem
-Operating System: Linux 2.4.17
+Operating System: any
 PHP Version: 4.2.1
 New Comment:

I think stat function can be used to know actual permissions. is_*
function supposed to return if current process can do something or not.
IMO.

We may need to change doc a bit. -> Documentation Problem

Previous Comments:
------------------------------------------------------------------------

[2002-07-13 18:31:32] ilia <email protected>

It would be very useful if is_readable/is_writable/is_executable
series of functions would work with safe mode. Currently is_writable()
will report a file that in reality cannot be accessed undersafe mode is
writeable, which is clearly misleading.

At least, could the manual be modified in such a way as to document
that those functions will not work properly under safe_mode.

------------------------------------------------------------------------

-- 
Edit this bug report at http://bugs.php.net/?id=18332&edit=1

-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php