Is it possible to include a cgi script to be run inside a cgi based forum..
Example. I run ikonboard, which is coded in CGI, and i want to run a banner rotator , which is a .pl file. SSI includes didnt seemto work.. any other ideas?
jpjones
11:41 am on Apr 10, 2003 (gmt 0)
I'm not a perl expert, but I do know there are commands which lets you make system calls to execute external programs.
Can you not use one of these commands, running your banner rotatation script, then capturing the output and then writing it into the HTML stream?
JP
FortifiedIron
7:19 pm on Apr 10, 2003 (gmt 0)
Sorry to say, but you lost me ... I'm very new to this. VERY new. Its mainly just so some of my sponsors can check out their click through rates and stuff..
What would be the command to execute it?
FortifiedIron
2:52 am on Apr 11, 2003 (gmt 0)
anyone?
Josk
9:21 am on Apr 11, 2003 (gmt 0)
Can you explain what you are trying to do more clearly? Are you trying to call on script from another, call SSI from the page generated by the original script, or call an external program from the script?
All are possible, depending of course on the configuration of the server.
netcommr
9:42 am on Apr 11, 2003 (gmt 0)
change the calls to the banner program from ssi to html imbedded javascript which executes 'during' page loading and makes the call to the pl. scripts, or use an image tag with the url calling the script.
such as <img src="/path-to-bannerscript.pl?call-banner=number2">