PHP Help please

Associate
Joined
19 Jun 2010
Posts
1,695
Location
Southampton City Centre
I'm trying to learn to OOP and in doing so I am just browsing a few tutorials using OOP methods.

http://net.tutsplus.com/tutorials/php/a-better-login-system/

I don't understand how the user_perms table comes in to effect. I am looking at the populated DB for this tutorial and it's empty..?

getUserPerms() selects all the user_perms from the (empty) table.
buildACL() merges it with the permissions array.

I don't understand how it works if the user_perms table is always empty?

Could someone explain this too me please?

Thank you.
 
There is no user permissions admin page. Nor a page to add new users.

Is it for giving specific users unique permissions?

Edit: I've got it, it's for altering permissions of specific users. Danka.
 
Back
Top Bottom