RE: [PHP] http referer problems

2001-12-13 Thread Darren Gamble
algary, 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.

RE: [PHP] http referer problems

2001-12-13 Thread Boget, Chris
> if ($efa != "nm" || $HTTP_REFERER != > "http://www.globalhealth.org/news/article.php3?id=1526";){ > do this); > } Not sure what the exact problem is as you haven't been all that descriptive as to what the values are or what is happening, but you should know that $HTTP_REFERER can't be trusted.

[PHP] http referer problems

2001-12-13 Thread sgibbs
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 M