Re: Referer Question

From: Date: Wed, 05 Dec 2001 13:43:14 +0000
Subject: Re: Referer Question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-76717@lists.php.net to get a copy of this message
you can call the predefined variable in PHP $HTTP_REFERER will return the address of the previous page. $REQUEST_URI will return the URI of current page. is those something you need? -- Hidulf http://www.hidulf.com "George E. Papadakis" <georgep@phaistosnetworks.gr> wrote in message news:001f01c17d91$46a9af20$07dbdbc2@phaistonian... > Hi, > > Say I have an image called in a page which is actually a PHP script (A > banner image for example). > Is there any variable I could use to detect where the the one that entered > the page and ran the php script came from? > > I guess it's something like the referer of HTTP_referer or something. > I could do it using some javascript and pass it to the php but that's not > really acceptable. > > Thanks in advance, > > > George E. Papadakis > Project Manager > Phaistos Networks S.A - http://www.phaistosnetworks.gr > georgep@phaistosnetworks.gr T: +30 892 24450 F: +30 892 23206 > - A DOL Digital Company >

« previous php.general (#76717) next »