if($cgi->http('HTTP_REFERER')){ print "
Testing, there was a referer: ".$cgi->http('HTTP_REFERER')."
Testing, there was no referer