I have a html page that invokes a cgi script with the <script src= format. I would like to be able to determine the file name of the html page from within the cgi perl program. Is there a way to pass this info to the cgi as a parm? If so, how?
Yes, I understand that.. what I was wanting to know is there any way to pick up the url of the html page within the page and pass that on to the cgi code without having to hard code it into the cgi call. It has happened more than once where several pages get moved/renamed and the hard coded information is not updated correctly.
Thanks for the response - sorry I was not clear on my initial post.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.