If you're using PHP, then PHP_SELF , orr using one of the request functions (similar to "query_string" - forget what it is. look up php.net )
You can also use Javascript (window.location).
Ravi http://WebmasterInABox.net
At 01:35 PM 7/18/2003 -0400, you wrote:
Hi all. I am writing a very simple click tracking script (php) for my website, and all I want to do is capture the referrer page and the requested page. I know how to do this by sending all links through a remote script, but I'd really like to simply embed the script in each page, and read the referrer and the file name on which the script resides.
My question: how do I capture the file name of the page on which the script itself resides?
blankly,
steve miller
____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
http://wdvl.internet.com/WDVL/Forum/#sub
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
