using Apache variables as a parameter to a PHP script

Steve plug-discuss@lists.PLUG.phoenix.az.us
Thu, 10 Jan 2002 01:22:03 -0700


I have a image tag that is generated by a php script

<IMG
src="http://lww.com/pphlogger/showhits.php?id=user&st=img&mpdl=/cleansers.html">

The last parameter (mpdl) is defined as the page I am getting the
information for (it is a hit counter).

in most cases it is the current page, so I would like to use
$DOCUMENT_URI instead of manually typing in the page on every link.

I have found I can not just refrence the variable.

Thank you for any help,

Steve