While on the topic (sort of) I was wondering if there is an environment variable that would tell me which program called my script, if I was not running it in a web server context. I will be calling it from a one of several Java programs and want to know which one called it.
Regards,
Gerard