how to call a perl cgi script

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
richardb

how to call a perl cgi script

Post 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?
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: how to call a perl cgi script

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
richardb

Re: how to call a perl cgi script

Post 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?
richardb

Re: how to call a perl cgi script

Post 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. ???
richardb

Re: how to call a perl cgi script

Post by richardb »

I tried this again with the {fetchurl} plugin, this solved the display problem.  This works great now.
Thank you very much.
Locked

Return to “CMSMS Core”