--- status_graph_old.php 2016-04-27 15:50:31.584062000 -1000 +++ status_graph.php 2016-04-27 15:49:12.533233000 -1000 @@ -69,14 +69,14 @@ require("guiconfig.inc"); require_once("ipsec.inc"); -if ($_POST['width']) { - $width = $_POST['width']; +if ($_REQUEST['width']) { + $width = $_REQUEST['width']; } else { $width = "100%"; } -if ($_POST['height']) { - $height = $_POST['height']; +if ($_REQUEST['height']) { + $height = $_REQUEST['height']; } else { $height = "200"; } @@ -97,8 +97,8 @@ } } -if ($_POST['if']) { - $curif = $_POST['if']; +if ($_REQUEST['if']) { + $curif = $_REQUEST['if']; $found = false; foreach ($ifdescrs as $descr => $ifdescr) { if ($descr == $curif) { @@ -119,18 +119,18 @@ $curif = "wan"; } } -if ($_POST['sort']) { - $cursort = $_POST['sort']; +if ($_REQUEST['sort']) { + $cursort = $_REQUEST['sort']; } else { $cursort = ""; } -if ($_POST['filter']) { - $curfilter = $_POST['filter']; +if ($_REQUEST['filter']) { + $curfilter = $_REQUEST['filter']; } else { $curfilter = ""; } -if ($_POST['hostipformat']) { - $curhostipformat = $_POST['hostipformat']; +if ($_REQUEST['hostipformat']) { + $curhostipformat = $_REQUEST['hostipformat']; } else { $curhostipformat = ""; }