This Guest Login That Uses A Cookie!
To Get The Cookie Info, Use The Cookie Get Code. Then Use $Name To Get It If Useing Php
Login.php
<?
if ($_GET['action'] == "Login") {
echo("<form method="POST" action=Login.php>
<p align="center">
Your Name: <input type="text" name="Name" size="20"></p>
<p align="center"><input type="submit" value="Submit" name="Submit"></p>");
exit;
if ($_GET['action'] == "Login2") {
if(!$Name) {
$Name = $namecook;
}
setcookie("namecook", "$Name");
echo("<center>Your Now Logined</center>");
exit;
}
?>
Put On Pages That Use The UserName
<?
$Name = $namecook;
setcookie("namecook", "$Name");
?>
what do you thinks about this code ?.
more example you can find here:
http://t4vn.net/index?do=example