Re: http_referer

From: Date: Wed, 21 Jun 2000 05:20:29 +0000
Subject: Re: http_referer
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-2436@lists.php.net to get a copy of this message
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") ok else start process intrusion A variable such server_remote would be very helpful. Thanks to all. JL On Tue, 20 Jun 2000, you wrote: > On 20 Jun, Jean-Louis LeTortorec wrote: > > > > I'm trying to get the equivalent of http_referer I used with cgi scripts. > > > > Or any other function I could use to know the page the visitor was visiting > > before entering my sites. > > > > Thanks > > > > JL > > ------------------------------------------------------- > > Check the variable $HTTP_REFERER > > Cheers > -- > David Robley | WEBMASTER & Mail List Admin > RESEARCH CENTRE FOR INJURY STUDIES | > http://www.nisu.flinders.edu.au/ > AusEinet | kC·‘¡%$ > 2ô{Ë®http://auseinet.flinders.edu.au/ > Flinders University, ADELAIDE, SOUTH AUSTRALIA > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#2436) next »