[pLog-svn] about isWritable()
    Jon Daley 
    plogworld at jon.limedaley.com
       
    Thu Apr  6 20:10:49 GMT 2006
    
    
  
 	Last time.
Maybe this function will help us:
http://us2.php.net/manual/en/function.fileperms.php
Though we would need to know our own userid, and gid, to know whether we 
have access.
On Thu, 6 Apr 2006, Jon Daley wrote:
> 	More hrm:
>
> Note: This extension is not available on Windows platforms.
>
> Sensitive data can be retrieved with the POSIX functions, e.g. 
> posix_getpwnam() and friends. None of the POSIX function perform any kind of 
> access checking when safe mode is enabled. It's therefore strongly advised to 
> disable the POSIX extension at all (use --disable-posix in your configure 
> line) if you're operating in such an environment.
>
> http://us2.php.net/manual/en/ref.posix.php
**************************************
Jon Daley
http://jon.limedaley.com/
It is hard enough to remember my opinions,
without also remembering my reasons for them!
-- Nietzsche
    
    
More information about the pLog-svn
mailing list