182x Posted July 27, 2007 Share Posted July 27, 2007 Hey guys, when using the unlink feature in php i get an error which states I do not have enough permission do to this, I was wondering how to I get enough permission in windows? thanks Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted July 27, 2007 Share Posted July 27, 2007 set the folder and file permissions to 755. you may be able to do this with php chmod() function - be sure to look up umask() when you use this!!! Quote Link to comment Share on other sites More sharing options...
182x Posted July 27, 2007 Author Share Posted July 27, 2007 just looked the php manual for umask I don't really understand it, what is it used for? Thanks. Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted July 27, 2007 Share Posted July 27, 2007 to mask the permission value if the setting is 2 then you using chmod(0755) would result in the permissions being (533) - so it mask the true value of a permission by 2 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.