Thanks for that Rifts, that's great! Now that login.php page is working, my game.php page is as follows:
<?php
echo "Welcome ";
echo $_SESSION['name'];
echo " , you have logged in successfully.";
session_unset();
session_destroy();
?>
Unfortunately, it doesn't seem to remember the session name from the login page? How can I make it greet me? It currently outputs:
"Welcome , you have logged in successfully.
Warning: session_destroy() [function.session-destroy]: Trying to destroy uninitialized session in /www/99k.org/s/i/m/simbazeviangame/htdocs/game.php on line 8"
Thanks a lot!