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" <[EMAIL PROTECTED]> wrote in message 001f01c17d91$46a9af20$07dbdbc2@phaistonian">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 > [EMAIL PROTECTED] T: +30 892 24450 F: +30 892 23206 > - A DOL Digital Company > -- 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]