$PHP_SELF echo $PHP_SELF; -- Chris Lee Mediawaveonline.com em. [EMAIL PROTECTED] ph. 250.377.1095 ph. 250.376.2690 fx. 250.554.1120 ""Dan Watt"" <[EMAIL PROTECTED]> wrote in message 970j62$6j0$[EMAIL PROTECTED]">news:970j62$6j0$[EMAIL PROTECTED]... > As a beginner to PHP4, I wrote a simple logging program (since my server > does not have the best logging functionality) to track where users go on my > website. The way I am implementing it is by including it as a <! --#include > virtual="myphpscript.php" --> inside another include file, the footer to all > of my pages > so, it works out like this: > HTML Page > -> Included footer > -> Included PHP script > > Now, the HTTP_ENV_VARS work fine even in this setup, and return > HTTP_REFERRER correctly as the page I visited before coming to the current > page. But that is not what I want. I would like a way, without putting the > php script inside my HTML files, to be able to determine what page called > the script. Any help would be appreciated! Thanks > > > > -- > 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] > -- 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]