Hi Richard,

The system is not for any boxes use - it's for the user-access system I'm
developing for my companie's Website. I copied the system they use at unix a
little. We have READ and WRITE permissions and 4 different user-categories.
1,2,4,8 - the reason I'm splitting this up is actually quite simple, if I
have a string like this

"1-2-8"

I can easier check if the user has the permission by checking whether "1"
for example is inside the string. If I made the string look like this "128"
it could easily be mistaken as a number...

I was trying to figure out a shorter way of achieving the same thing, since
splitting up those numbers gave me (and my maths teacher) quite a headache
at first :)) do you have any ideas?

TIA,

Raphael



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to