Look into using sessions for authentication. Basically the idea is:
<?php
session_start();
if($_SESSION['loggedIn']==true){
echo "This content will only be viewable for users who are logged in";
}
else{
echo "You are not logged in";
}?>
Reputation Points: 232
Solved Threads: 137
Practically a Master Poster
Offline 665 posts
since Nov 2007