Page 1 of 1
how to call a perl cgi script
Posted: Sun Apr 09, 2006 11:15 pm
by richardb
I am using cmsms version .12.1 and having trouble converting a perl script to run on this system. The script is normally called from a standard html page with the code:
How do I convert this to be used with cmsms?
Re: how to call a perl cgi script
Posted: Mon Apr 10, 2006 2:38 am
by calguy1000
is an asp tag, not a php or anything else tag.
in cms though you should be able to use the {embed} tag, or the {fetchurl} plugin that is available in the forge. There is also a howto on how to use this in the download.
In addition, though I haven't done it myself, if you look at this thread:
http://forum.cmsmadesimple.org/index.ph ... 526.0.html
you will see what seems to be some valid instructions for doing this inline.
Let me know how it works for you.
Re: how to call a perl cgi script
Posted: Mon Apr 10, 2006 5:51 am
by richardb
I used the {embed} tag, and it is pulling the the html code into the page and displaying the raw html code rather than drawing the page. What would cause this?
Re: how to call a perl cgi script
Posted: Mon Apr 10, 2006 6:47 am
by richardb
I have now noticed that this incorrect display behaviour is limited to firefox. If I view this same page with IE6, it displays correctly.

Re: how to call a perl cgi script
Posted: Mon Apr 10, 2006 7:36 am
by richardb
I tried this again with the {fetchurl} plugin, this solved the display problem. This works great now.
Thank you very much.