>> if(!$_SESSION['usr_seclvl'] > $auth) Um, I believe I ran into this where I was doing a evaluation similar = (!$value > $value)... and I just had my comparison syntax wrong...=20 could it be if($_SESSION['usr_seclvl'] !> $auth)