Hi my session wount work... now body here sees to konw what the problem is!!
this is the logging page!!
<?
$username=$POST["username"];
$password=$POST["password"];
include ("../login/mysqlcondbrr.php");
$mysqlcon = "select * from reg_info where username = '$username' and password = '$password';";
$result = mysql_query($mysqlcon) or die("Query failed");
if (mysql_num_rows($result) == '1') {
print "<p><center><big><big>Welcome $username Please click <a href=\"isloggedin.php\">here to continue to flameline.com</big></big></center></p>";
$SESSION["IsLoggedIn"] = "1";
}
else
{
$SESSION["IsLoggedIn"] = "0";
print "<p><center><big><big>Sorry, incorrect Password $password. or Nickname $username.</big></big></center></p>";
print "<p><center><big>if not a member <a href=\"register.php\">click here to register</big></center></p>";
}
?>
and this is the access page!!
<?
session_start()
if ($_SESSION["IsLoggedIn"] == "0") {
echo "You have not logged in";
exit;
}
?>
<center><h1>This page is under construction, if you have any questions whatsoever, sen them here:<br>info@flameline.com</h1></center>
<?
print "<p><center><big><a href=\"\forum\index.php\">click here to go to forum</big></center></p>";
?>