0){ while($row = mysql_fetch_array($sql)) { foreach( $row AS $key => $val ) { $$key = stripslashes( $val ); } // Register some session variables! session_register('username'); $_SESSION['username'] = $username; session_register('loggedin'); $_SESSION['loggedin'] = 1; session_register('id'); $_SESSION['id'] = $row["id"]; session_register('f_name'); $_SESSION['f_name'] = $row["f_name"]; header("Location: " . $root_dir . "user/index.php"); } } else { print ""; } } ?> The Pure Mix Ad Tracker
User Login
Username:
Password: