6 $pts = trim($a['points']);
7 $opr = trim($a['opr']);
9 if ($id == null ||
$pts == null){
13 if((filter_var($id, FILTER_VALIDATE_INT
) == false) ||
(filter_var($pts, FILTER_VALIDATE_INT
) == false)){
14 echo("Invalid ID or Points");
18 $ip = $_SERVER['REMOTE_ADDR'];
22 $exec = shell_exec("php /home/auth/secure_html/subpoints.php $id $pts $ip $opr") or die("error!");