If the variable $HTTP_REFERER contains domain.com I don't want
to echo "yeah!". In other words, if $HTTP_REFERER isn't empty
and doesn't contain domain.com I want to echo "yeah!".
Is the following a good way to code it, or could you do it better?
$pos = strpos($HTTP_REFERER, 'domain.com');
if($HTTP_REFERER!="" AND $pos == false)
{
echo "yeah!";
}