a1amattyj Posted March 2, 2008 Share Posted March 2, 2008 Hello, How do you output the CHMOD permissions of a single file or folder in php? E.g if the file "filename.php" was 0644, then my current script (install.php) would say its 644 then i do a if.. etc to say make it 777. Thanks Quote Link to comment Share on other sites More sharing options...
shocker-z Posted March 2, 2008 Share Posted March 2, 2008 I beleive this is what your after mate. http://uk.php.net/manual/en/function.fileperms.php Regards Liam Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.