javamaster wrote:
I am including the same CGI script as an SSI on several web pages. I need to know which page the script was run from (something like the javascript window.location variable). I want to be able to know if the script was executed from index.html, or contact.html, or products.html, etc. I cannot find anything and I was wondering if anyone had any ideas. Thanks.
The other answer was probably best, about checking ENV, the other option would be to add an argument to the script call and just check for it in the script like you would on the command line, in other words, in @ARGV. Though this makes it harder to copy and paste code, and you will have to remember to set it on every page....
http://danconia.org
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]