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 Link to comment https://forums.phpfreaks.com/topic/62005-unlink-permission-question/ 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!!! Link to comment https://forums.phpfreaks.com/topic/62005-unlink-permission-question/#findComment-308704 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. Link to comment https://forums.phpfreaks.com/topic/62005-unlink-permission-question/#findComment-308710 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 Link to comment https://forums.phpfreaks.com/topic/62005-unlink-permission-question/#findComment-308712 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.