Good day, It's a bit difficult to determine what the problem is without more information.
If you add before this: echo "<pre>|$efa|</pre><pre>|$HTTP_REFERER|</pre>"; What is the output? ============================ Darren Gamble Planner, Regional Services Shaw Cablesystems GP 630 - 3rd Avenue SW Calgary, Alberta, Canada T2P 4L4 (403) 781-4948 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 13, 2001 7:58 AM To: [EMAIL PROTECTED] Subject: [PHP] http referer problems For some reason, the following if statement isn't working. Maybe I haven't had enough coffee to drink or maybe I've had too much - what am I missing? if ($efa != "nm" || $HTTP_REFERER != "http://www.globalhealth.org/news/article.php3?id=1526"){ do this); } Thank you, Shawna -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]