Re: HTTP_REFERER

From: Date: Fri, 23 Nov 2001 13:30:52 +0000
Subject: Re: HTTP_REFERER
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-75572@lists.php.net to get a copy of this message
Hi, When I use HTTP_REFERER it gives me the name of the php script which is handling the 404's?! Should that happen? Jord On Friday 23 November 2001 11:41, you wrote: > > Hi, > > I'm writing a 404 handler and in order to report the item that > > was requested > > I was trying to get the value of HTTP_REFERER. But, it does seem > > to get set. > > Does anyone know how to find thi value? Is there a reason why it > > would not > > get set? > > Hi > > I think you're looking for this > > $HTTP_SERVER_VARS["REQUEST_URI"] > > M: -- Jordan Elver Web Developer http://www.theinternetone.co.uk testing? What's that? If it compiles, it is good, if it boots up it is perfect. --- Linus Torvalds

« previous php.general (#75572) next »