Hi guys i'm learning basics of php, didn't read anything just start programming :)
I want to try developing an app that will have 3 posible session rights:
->Root : Complete access (read/write) to databases. (add/remove admins,drop tables,etc)
->Admin: Limited access to some tables (add/remove Downloadable content,etc)
->Guest: Read downloadable content table and download files...
This is the code by now:
index.php
login.php
admin.php|root.php|guest.php
Now my question is, how can i make it better?, i don't know if this way is good for what i need or if what i did is all wrong :(
P.S: I'm ussing xampp
Thx for your time :D
I want to try developing an app that will have 3 posible session rights:
->Root : Complete access (read/write) to databases. (add/remove admins,drop tables,etc)
->Admin: Limited access to some tables (add/remove Downloadable content,etc)
->Guest: Read downloadable content table and download files...
This is the code by now:
index.php
login.php
admin.php|root.php|guest.php
Now my question is, how can i make it better?, i don't know if this way is good for what i need or if what i did is all wrong :(
P.S: I'm ussing xampp
Thx for your time :D