tarun Posted August 6, 2007 Share Posted August 6, 2007 I Know How To Change The File Permission (Chmod) But How Do You Check What The File Permission Is In The First Place And Store It In A Variable Eg. $fileperm = Unknown; echo '[ File Permission Of "index.php" : '.$fileperm.' ]'; Where Unknown Is The Function Or Whatever Which Gets The File Permission Sorry If This Is Worded A Bit Stupidly But Any Help Is Appreicated ThanX, Tarun Quote Link to comment https://forums.phpfreaks.com/topic/63619-solved-getting-the-file-permission-of-a-file/ Share on other sites More sharing options...
Daniel0 Posted August 6, 2007 Share Posted August 6, 2007 fileperms() will do that. Quote Link to comment https://forums.phpfreaks.com/topic/63619-solved-getting-the-file-permission-of-a-file/#findComment-317069 Share on other sites More sharing options...
tarun Posted August 7, 2007 Author Share Posted August 7, 2007 Thanks So Much ;D ;D ThanX, Tarun Quote Link to comment https://forums.phpfreaks.com/topic/63619-solved-getting-the-file-permission-of-a-file/#findComment-317809 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.