[Pugged] Alright, my turn
Chris Van Cleve
ciapug@ciapug.org
Tue, 24 Sep 2002 15:58:18 -0500
SO, I updated to Mac OS X 10.2 and went through the horrendous discovery that my backup scheme for MySQL didn't work. Starting over from scratch, and updating PHP in the process, I now have a problem I'm having difficulty getting around. It worked before, but now it doesn't.
I am testing for a needed level of access for a page. The page sets a variable named $auth to 50, then in my authfile it tests as follows:
if(!$_SESSION['usr_seclvl'] > $auth)
Then display an access restricted message instead of the protected page. What happens in reality, however, is it lets anyone of any level other than 0 (zero) into the page. Any ideas? Need mroe info than that?
Let me know. I'll get it eventually, but I've already spent a week resurrecting this already. I want speed! ;) Thanks!
Chris