$actual_link = 'https://'.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'];
//echo $actual_link."<br>";
$pu = parse_url($actual_link);
// var_dump($pu);
$pn = (explode("/",$pu['path']));
$param = $pn[count($pn)-1]; // The last one
if (strpos($param ," ") > -1)
echo "(".$param.")"." hack detected";
else
echo $param;