diff options
author | Chad Little <clittle@users.sourceforge.net> | 2004-09-02 18:41:12 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2004-09-02 18:41:12 +0000 |
commit | d06e6031b26322c5a5bca8cdfdbad196e5ebf002 (patch) | |
tree | 4edf6d435535ac25375c7e22a66ceebffead7d68 /functions/userauth_functions.php | |
parent | aa3869c95eddd0bdde4c985771cda50223a34e98 (diff) | |
download | phpicalendar-d06e6031b26322c5a5bca8cdfdbad196e5ebf002.tar.gz phpicalendar-d06e6031b26322c5a5bca8cdfdbad196e5ebf002.tar.bz2 phpicalendar-d06e6031b26322c5a5bca8cdfdbad196e5ebf002.zip |
Updated to $_POST
Diffstat (limited to 'functions/userauth_functions.php')
-rw-r--r-- | functions/userauth_functions.php | 10 |
1 files changed, 5 insertions, 5 deletions
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. |