aboutsummaryrefslogtreecommitdiffstats
path: root/functions/userauth_functions.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2004-09-02 18:41:12 +0000
committerChad Little <clittle@users.sourceforge.net>2004-09-02 18:41:12 +0000
commitd06e6031b26322c5a5bca8cdfdbad196e5ebf002 (patch)
tree4edf6d435535ac25375c7e22a66ceebffead7d68 /functions/userauth_functions.php
parentaa3869c95eddd0bdde4c985771cda50223a34e98 (diff)
downloadphpicalendar-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.php10
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.

© 2014-2024 Faster IT GmbH | imprint | privacy policy