Overly simplified version of my code.
$site = "http://www.wnc.edu";
$referer = $_SERVER["HTTP_REFERER"];
echo $referer; // the output is correct at: http://www.wnc.edu/test/
if (strpos($referer,$site) === TRUE)
{
echo "yes";
}
Why doesn't it echo out "yes"? I know I am doing something stupid
here, but it doesn't seem to work .... :-)
--
Kevin Murphy
Webmaster: Information and Marketing Services
Western Nevada College
www.wnc.edu
775-445-3326
P.S. Please note that my e-mail and website address have changed from
wncc.edu to wnc.edu.