> When I use HTTP_REFERER it gives me the name of the php script which is
> handling the 404's?!
> Should that happen?
As someone put in one of the other reply's don't rely on HTTP_REFERER.
This is set (or not) by the browser and they all have different ideas about
they want to play ball with it.
You said you wanted to find the url they were trying to get at.
Use the variable I told you about before to get his
> 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
> testing? What's that? If it compiles, it is good, if it boots up it is
> perfect. --- Linus Torvalds
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]