aboutsummaryrefslogtreecommitdiffstats
path: root/includes
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2004-09-02 18:43:32 +0000
committerChad Little <clittle@users.sourceforge.net>2004-09-02 18:43:32 +0000
commit88c00c20e642043675459659e7d3266fbc6fb1ec (patch)
tree4eeedcb25ca1fc88dd5889a6d47d88872820fd58 /includes
parentd06e6031b26322c5a5bca8cdfdbad196e5ebf002 (diff)
downloadphpicalendar-88c00c20e642043675459659e7d3266fbc6fb1ec.tar.gz
phpicalendar-88c00c20e642043675459659e7d3266fbc6fb1ec.tar.bz2
phpicalendar-88c00c20e642043675459659e7d3266fbc6fb1ec.zip
Updated to $_GET
Diffstat (limited to 'includes')
-rw-r--r--includes/login.php4
-rw-r--r--includes/todo.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/includes/login.php b/includes/login.php
index 38bbd5b..e7713c1 100644
--- a/includes/login.php
+++ b/includes/login.php
@@ -10,11 +10,11 @@
echo '<form style="margin-bottom:0;" action="'.$form_action.'" method="POST">';
echo '<input type="hidden" name="action" value="login">';
- foreach (array_keys($HTTP_GET_VARS) as $key) {
+ foreach (array_keys($_GET) as $key) {
if ($key == 'action' || $key == 'username' || $key == 'password') {
continue;
}
- echo '<input type="hidden" name="'.$key.'" value="'.$HTTP_GET_VARS[$key].'">';
+ echo '<input type="hidden" name="'.$key.'" value="'.$_GET[$key].'">';
}
// If the attempted login was invalid, change the box title.
diff --git a/includes/todo.php b/includes/todo.php
index b8d5766..2a45d35 100644
--- a/includes/todo.php
+++ b/includes/todo.php
@@ -5,7 +5,7 @@ include_once(BASE.'functions/init.inc.php');
include_once(BASE.'functions/date_functions.php');
require_once(BASE.'functions/template.php');
-$vtodo_array = unserialize(base64_decode($HTTP_GET_VARS['vtodo_array']));
+$vtodo_array = unserialize(base64_decode($_GET['vtodo_array']));
// Set the variables from the array
$vtodo_text = (isset($vtodo_array['vtodo_text'])) ? $vtodo_array['vtodo_text'] : ('');

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