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.  You
may not always get that value passed to you.

Chris



RE: [PHP] http referer problems

2001-12-13 Thread Darren Gamble

Good day,

It's a bit difficult to determine what the problem is without more
information.

If you add before this:

echo pre|$efa|/prepre|$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]