Re: http referer problems

From: Date: Tue, 18 Dec 2001 17:09:03 +0000
Subject: Re: http referer problems
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-78095@lists.php.net to get a copy of this message
break it down. if ( $ef != 'nm' ) echo "a : $ef<br>"; else echo "b : $ef <br>"; if ( $HTTP_REFERER != 'http://www.globalhealth.org/news/article.php3?id=1526' ) echo "c : $HTTP_REFERER<br>"; else echo "d : $HTTP_REFERER<br>"; now you can see where the bug is. -- Chris Lee lee@mediawaveonline.com <sgibbs@vt.globalhealth.org> wrote in message news:BB6D932A42D6D211B4AC0090274EBB1DA0F1E8@GLOBAL1... > 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

« previous php.general (#78095) next »