I have two files: b.php and test.txt and the error is: Warning: unlink(test.txt) [function.unlink]: Permission denied why? b.php and test.txt is 777 and the same group/login if I set 777 on the parent directory I can execute unlink but i have to set 777 and back to 755? Answer You (as in the process that runs b.php, either you through
Tag: permissions
Storing application permissions in a database
I’m developing an application for our company that eventually will have lots of ways of restricting users to particular sections/modules. While the application is still small, I’d like to move to a new method of storing permissions that, as the application grows, will remain easy to maintain and query. Currently in our MySQL database we have a table called “user”
PHP Access Control System
I am part of a team creating a web application using PHP and MySQL. The application will have multiple users with different roles. The application will also be used in a geographically distributed …