Trying to fix the cookie problem.

This commit is contained in:
Jeff Teunissen 2002-02-22 05:51:51 +00:00
parent 68e27e95fe
commit dc476ca417

View file

@ -185,7 +185,7 @@ CREATE TABLE members (
$db = @mysql_connect (sqlHost, sqlUser, sqlPass); $db = @mysql_connect (sqlHost, sqlUser, sqlPass);
global $userName, $password, $loginInfo, $userInfo; global $userName, $password, $loginInfo, $userInfo;
if ($loginInfo) { if ($loginInfo) {
$userName = authCookie ($loginInfo, $userName, $password); $userName = authCookie ($loginInfo, $userName, $password);
} else { } else {
@ -199,5 +199,4 @@ CREATE TABLE members (
" WHERE u_username='$userName'"; " WHERE u_username='$userName'";
$userInfo = @mysql_fetch_array (@mysql_db_query (sqlDB, $query)); $userInfo = @mysql_fetch_array (@mysql_db_query (sqlDB, $query));
@mysql_close ($db); @mysql_close ($db);
?> ?>