Iv'e just added a login script to my website,
and im having a bit of trouble with something
i want to add a bit of code on to a page so users have to be logged in to view,
Here is the code :
Code: Select all
<?
include("include/session.php");
if($session->logged_in)
{
?>
HTML CODING HERE
<?
}
else
{
die"Your Aren't Logged In";
}
But for some reason its not working please may somebody help me
Regards,
Luke
Feel Free To Contact Me
MSN: Luke.brown2008@Hotmail.com
Email : Luke.brown2008@Gmail.com