Calling a CGI script inside another CGI script

They have: 10 posts

Joined: Jun 2000

I'm making templates for my pages right now, unfortunately I don't have much experience using Perl/CGI.

In my template, I need to call another script (a voting poll), normally in HTML I would use a

<!--#include virtual="yada-yada-yada"-->

tag. Pretty much what I've done for the rest of my pages, is simply PRINT ed the HTML out using CGI. If I print the <!--#include virtual=""--> code, it gets printed instead of processed.

How do I make it so that code will be processed?

thanks to anyone who helps

-b00ty

Free JumpingPenguin Mail at: http://mail.penguins.thinkhost.com/

They have: 568 posts

Joined: Nov 1999

Use <!--#exec cgi=""-->

They have: 1,587 posts

Joined: Mar 1999

u can use "require" n the main script

------------------
CLICK 4 some tested resources for making money $, hosting, and web promotions.
My Site got hacked, but i'm coming back?

Traffic-Website.com free traffic, affiliate programs, hosting, & domain names.
My Site got hacked, but i'm coming back?

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.