https://www.icyphoenix.com/viewtopic.php?f=4&t=2528&p=17996#p17996
-----------------------------------
Mighty Gorgon
Thu 26 Jul, 2007 00:22

Re: Adding New Kind Of Users For Preventing Not Auth Acces
-----------------------------------
Thanks for this tutorial... I've edited your message inserting HIGHLIGHT command in code instead of COLOR BBCode which is not working in CODE tag.

Finally I would just to add that if you define a constant is because you don't want to remember all the number assigned... so, for example if you put:
[code]$user_level == ADMIN[/code]

is perfectly identical to
[code]$user_level == 1[/code]

Because you set ADMIN = 1 as a constant.

Finally if you define new users type, you need then to specify elsewhere how a user can have a different level... otherwise you need to change each user level directly into phpMyAdmin.


