sygon, with all due respect techtuts can be easily modded so that doesn't always apply.
Printable View
sygon, with all due respect techtuts can be easily modded so that doesn't always apply.
Habbo Works uses cookies :P but toms modified it so it looks nothing like it was originally techtuts lol
Sessions are sooo easy to use. Just stuff the cookies and to reigster sessions:
and change like thePHP Code:<?
session_start();
$usersname = $_POST[username];
$sql = ("SELECT * FROM `users` WHERE `username`='$usersname'");
session_register('username');
$_SESSION[username] = $sql[username];
?>
if ($logged[username]){ or w.e they use to if ($_SESSION[username]){
I dunno if thats 100% correct because its early in the morning and im tired rofl. So if i made a muck up please can someone correct me
Thanks ;)