[PHP-DOC] #18332 [Opn]: is_readable/is_writable/is_executable support under safe mode From: iliaa <email protected>
Date: 09/22/02

 ID: 18332
 Updated by: iliaa <email protected>
 Reported By: ilia <email protected>
 Status: Open
 Bug Type: Documentation problem
 Operating System: any
 PHP Version: 4.2.1
 New Comment:

In the current release of the manual is_readable/is_writable now
mention the fact that they will not check safe_mode limitation. The
is_executable however, still needs to be documented.

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

[2002-07-15 21:52:19] yohgaki <email protected>

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

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

[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