From d06e6031b26322c5a5bca8cdfdbad196e5ebf002 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Thu, 2 Sep 2004 18:41:12 +0000 Subject: Updated to $_POST --- functions/userauth_functions.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'functions/userauth_functions.php') diff --git a/functions/userauth_functions.php b/functions/userauth_functions.php index 7a408da..ea4ea17 100644 --- a/functions/userauth_functions.php +++ b/functions/userauth_functions.php @@ -43,7 +43,7 @@ function logout_querys() { // if no valid login is found. Returns a boolean invalid_login to // indicate that the login is invalid. function user_login() { - global $_COOKIE, $HTTP_GET_VARS, $HTTP_POST_VARS, $_SERVER; + global $_COOKIE, $HTTP_GET_VARS, $_POST, $_SERVER; global $login_cookies, $cookie_uri, $locked_map; // Initialize return values. @@ -88,11 +88,11 @@ function user_login() { { $username = $HTTP_GET_VARS['username']; $password = $HTTP_GET_VARS['password']; - } else if (isset($HTTP_POST_VARS['username']) && - isset($HTTP_POST_VARS['password'])) + } else if (isset($_POST['username']) && + isset($_POST['password'])) { - $username = $HTTP_POST_VARS['username']; - $password = $HTTP_POST_VARS['password']; + $username = $_POST['username']; + $password = $_POST['password']; } // Check to make sure the username and password is valid. -- cgit v1.2.3