gray Posted November 1, 2006 Share Posted November 1, 2006 ive seen various php installer scripts which tell you the current chmod values or permissions of your folders - how is this achieved? Link to comment https://forums.phpfreaks.com/topic/25809-resolved-return-chmod-value/ Share on other sites More sharing options...
trq Posted November 1, 2006 Share Posted November 1, 2006 Take a look at [url=http://php.net/fileperms]fileperms[/url](). Link to comment https://forums.phpfreaks.com/topic/25809-resolved-return-chmod-value/#findComment-117858 Share on other sites More sharing options...
gray Posted November 1, 2006 Author Share Posted November 1, 2006 thats the ticket, thanks very much Link to comment https://forums.phpfreaks.com/topic/25809-resolved-return-chmod-value/#findComment-117867 Share on other sites More sharing options...
trq Posted November 1, 2006 Share Posted November 1, 2006 Funny what you find in the manual. Link to comment https://forums.phpfreaks.com/topic/25809-resolved-return-chmod-value/#findComment-117870 Share on other sites More sharing options...
gray Posted November 1, 2006 Author Share Posted November 1, 2006 been searching for an hour - the manual and google. mostly on chmod(), ftp_whatever() and the like Link to comment https://forums.phpfreaks.com/topic/25809-resolved-return-chmod-value/#findComment-117874 Share on other sites More sharing options...
trq Posted November 1, 2006 Share Posted November 1, 2006 Took me about 10 seconds and Ive never seen that function before.I looked up chmod (because I figured the function we were looking for would be within the same catigory) by going straight to http://php.net/chmod, then browsed the list of functions on the left hand side until I found one with a name that sounded like it might do what you wanted. fileinode() was the first one a looked at... no good, the second was fileperms(). Simple. Link to comment https://forums.phpfreaks.com/topic/25809-resolved-return-chmod-value/#findComment-117885 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.