I'm using this login page http://www.evolt.org/PHP-Login-System-with-Admin-Features
works great does everything that i need..
But now I'm tryin' to do a guess you can call it rankcheck where if the user = this level they will be allowed to see my php pages that I have created.
I've included some other pages to go along with this page that will let me add user info to the database. I've been farting around with this for about a week or two off and on and I can't seem to limit.
On the page they say to use this
<?
include(".././login/include/session.php");
if($session->logged_in){
echo "You are viewing the protected page";
}
else{
echo "Login Please";
}
?>
which does work great. But that's in basic HTML. And it also allows anyone to see what is on the page that it's on.
Could someone help me out with this. That would be great. or any pointers
Thanks in advance,