Gossamer Forum
Home : Products : DBMan SQL : Discussion :

template call to other cgi

Quote Reply
template call to other cgi
Hi,
Is it possible to call another cgi from WITHIN a template?

I have a little random phrase generator (rand_text.cgi) which uses server side includes. It is placed in my cgi-bin directory. But in a customised template the line:
<!--#exec cgi="/cgi-bin/rand_text.cgi"-->
has no effect. (Frankly I didn't think it would work!)
So how can I get a template to trigger and display the result of such a seperate cgi?
Thanks for all help on this
Charly
Subject Author Views Date
Thread template call to other cgi charly 4934 Sep 11, 2002, 9:48 PM
Thread Re: [charly] template call to other cgi
604 4771 Sep 12, 2002, 10:30 AM
Thread Re: [TheStone] template call to other cgi
charly 4777 Sep 14, 2002, 2:28 AM
Thread Re: [charly] template call to other cgi
604 4758 Sep 16, 2002, 9:58 AM
Thread Re: [TheStone] template call to other cgi
charly 4732 Sep 19, 2002, 11:59 AM
Thread Re: [charly] template call to other cgi
Aki 4730 Sep 20, 2002, 8:19 AM
Post Re: [Aki] template call to other cgi
charly 4714 Sep 20, 2002, 9:58 AM