$x=$_GET['x']; $y=$_GET['y']; if ($x==NULL) { $x=1; } if ($y==NULL) { $y=1; } if (!is_numeric($x)) { $x=1; } if (!is_numeric($y)) { $y=1; } ?>