This next piece of code checks the referer if WORD exists on it shows a message if not continues... simple, BUT what i want to do is to show the message if the WORD is NOT there, like if the user comes from another site...
<?php
$ref = getenv('HTTP_REFERER');
if (eregi("word", $ref)) {
echo "
<script language=\"JavaScript\">
alert(\"Message\");
// End -->
</script>
";
}
?>
Thanks.