Re: http_referer

From: Date: Wed, 21 Jun 2000 10:24:18 +0000
Subject: Re: http_referer
Groups: php.general 
Request: Send a blank email to php-general+get-2465@lists.php.net to get a copy of this message
Addressed to: Jean-Louis LeTortorec <jlouis@geocities.com> php-general@lists.php.net ** Reply to note from Jean-Louis LeTortorec <jlouis@geocities.com> Wed, 21 Jun 2000 01:20:29 -0400 > > > > Check the variable $HTTP_REFERER > > > > I've tried $http_referer, but does not work. It seems that with > Javascript, document.referer would be the right variable. But I want > to check 'referer' prior to any process, something like: if > ($referer=="http://mysite/abc.php3") > intrusion $http_referer != $HTTP_REFERER ! ! ! ! Variable names in PHP are case sensitive! Rick Widmer Internet Marketing Specialists www.developersdesk.com

« previous php.general (#2465) next »