PDA

View Full Version : How to run a cgi program from index.htm file


hkgray
10-30-2002, 01:27 PM
Dear all,

I have a cgi program written in Perl. I would try to run it in an index.htm file (run automatically when load the index.htm file). How could I code the html file to run the cgi program in another directory?

Thanks
Raymond

Philip M
10-30-2002, 06:49 PM
Simply place this in the <body>

<!--#exec cgi="cgi-bin/thescriptfilename.cgi"-->

WA
10-30-2002, 10:32 PM
Hi hkgray:
Once again you've chosen to post a non JavaScript related question in the JS category, plus duplicate (cross post) your question in the Perl category. Please refer to my PM to you a couple of weeks ago.

Due to this, your posting privileges has been suspended until further notice. Cross posting and disregard for our rules makes helping people a lot harder, for all members involved.