How do I find the name of the currently executing file
from Embperl under Apache? I can find the top level
file using $ENV{PATH_TRANSLATED}, but this won't work
for sub-executes



for example:

foo.html:

----------------------------

[- Execute('bar.html') -]

---------------------------






bar.html:

---------------------------

Currently executing: [+ $ENV{PATH_TRANSLATED +]

---------------------------





this will print:

"Currently executing /usr/web/htdocs/foo.html"



but I want it to print:

"Currently executing /usr/web/htdocs/bar.html"



Any ideas??




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to