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? Quote Link to comment 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](). Quote Link to comment Share on other sites More sharing options...
gray Posted November 1, 2006 Author Share Posted November 1, 2006 thats the ticket, thanks very much Quote Link to comment Share on other sites More sharing options...
trq Posted November 1, 2006 Share Posted November 1, 2006 Funny what you find in the manual. Quote Link to comment 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 Quote Link to comment 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. 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.