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 3826 Sep 11, 2002, 9:48 PM
Thread Re: [charly] template call to other cgi
604 3704 Sep 12, 2002, 10:30 AM
Thread Re: [TheStone] template call to other cgi
charly 3711 Sep 14, 2002, 2:28 AM
Thread Re: [charly] template call to other cgi
604 3692 Sep 16, 2002, 9:58 AM
Thread Re: [TheStone] template call to other cgi
charly 3666 Sep 19, 2002, 11:59 AM
Thread Re: [charly] template call to other cgi
Aki 3660 Sep 20, 2002, 8:19 AM
Post Re: [Aki] template call to other cgi
charly 3648 Sep 20, 2002, 9:58 AM