// Common functions
require_once 'plc_functions.php';
-$value=$_GET["value"];
-$person_id=$_GET["person_id"];
-$slice_id=$_GET["slice_id"];
+$value=get_array($_GET, "value");
+$person_id=get_array($_GET, "person_id");
+$slice_id=get_array($_GET, "slice_id");
$myFile = "/var/log/myslice/myslice.log";
$fh = fopen($myFile, 'a') or die("can't open file");