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 /preferences.php | |
parent | aa3869c95eddd0bdde4c985771cda50223a34e98 (diff) | |
download | phpicalendar-d06e6031b26322c5a5bca8cdfdbad196e5ebf002.tar.gz phpicalendar-d06e6031b26322c5a5bca8cdfdbad196e5ebf002.tar.bz2 phpicalendar-d06e6031b26322c5a5bca8cdfdbad196e5ebf002.zip |
Updated to $_POST
Diffstat (limited to 'preferences.php')
-rw-r--r-- | preferences.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/preferences.php b/preferences.php index 253a8d7..7ed6c13 100644 --- a/preferences.php +++ b/preferences.php @@ -23,13 +23,13 @@ if (isset($HTTP_GET_VARS['action'])) { $startdays = array ('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'); if ($action == 'setcookie') { - $cookie_language = $HTTP_POST_VARS['cookie_language']; - $cookie_calendar = $HTTP_POST_VARS['cookie_calendar']; - $cookie_view = $HTTP_POST_VARS['cookie_view']; - $cookie_style = $HTTP_POST_VARS['cookie_style']; - $cookie_startday = $HTTP_POST_VARS['cookie_startday']; - $cookie_time = $HTTP_POST_VARS['cookie_time']; - $cookie_unset = $HTTP_POST_VARS['unset']; + $cookie_language = $_POST['cookie_language']; + $cookie_calendar = $_POST['cookie_calendar']; + $cookie_view = $_POST['cookie_view']; + $cookie_style = $_POST['cookie_style']; + $cookie_startday = $_POST['cookie_startday']; + $cookie_time = $_POST['cookie_time']; + $cookie_unset = $_POST['unset']; $the_cookie = array ("cookie_language" => "$cookie_language", "cookie_calendar" => "$cookie_calendar", "cookie_view" => "$cookie_view", "cookie_startday" => "$cookie_startday", "cookie_style" => "$cookie_style", "cookie_time" => "$cookie_time"); $the_cookie = serialize($the_cookie); if ($cookie_unset) { |