From 45d9a5cfcd90e2086d74dce58338f75b721b647d Mon Sep 17 00:00:00 2001 From: hugetoad Date: Sun, 1 Aug 2004 15:51:49 +0000 Subject: - use $_GET, $_POST, $_COOKIE to be PHP5-compatible. Thanks to Martin MOHNHAUP. (Alexei) git-svn-id: svn://svn.zabbix.com/trunk@1368 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/sysmaps.php | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'frontends/php/sysmaps.php') diff --git a/frontends/php/sysmaps.php b/frontends/php/sysmaps.php index c3e960e5..c520630e 100644 --- a/frontends/php/sysmaps.php +++ b/frontends/php/sysmaps.php @@ -36,23 +36,23 @@ ?> @@ -110,9 +110,9 @@ "; - if(isset($HTTP_GET_VARS["sysmapid"])) + if(isset($_GET["sysmapid"])) { - $result=DBselect("select s.sysmapid,s.name,s.width,s.height from sysmaps s where sysmapid=".$HTTP_GET_VARS["sysmapid"]); + $result=DBselect("select s.sysmapid,s.name,s.width,s.height from sysmaps s where sysmapid=".$_GET["sysmapid"]); $name=DBget_field($result,0,1); $width=DBget_field($result,0,2); $height=DBget_field($result,0,3); @@ -130,9 +130,9 @@ show_table2_v_delimiter(); echo "
"; - if(isset($HTTP_GET_VARS["sysmapid"])) + if(isset($_GET["sysmapid"])) { - echo ""; + echo ""; } echo "Name"; show_table2_h_delimiter(); @@ -150,7 +150,7 @@ show_table2_v_delimiter2(); echo ""; - if(isset($HTTP_GET_VARS["sysmapid"])) + if(isset($_GET["sysmapid"])) { echo ""; echo ""; -- cgit