<?
if (strstr($_SERVER['HTTP_REFERRER'], "?")) {
header("Location: http://redirect/");
exit;
}
?>

in pratica questo codice dovrebbe fare un redirect se nell'url di referrer c'è il ? tipo:

http://www.miosito.it/index.php?page=2

però non funziona perchè ???