How do I get a cgi link on my page when page is pulled up instead of having to click

They have: 4 posts

Joined: Feb 2000

What HTML tag do I use to get a cgi script to run when the page is first pulled up? I have different messages appear each time the page is viewed.

They have: 12 posts

Joined: Feb 2000

You can use SSI to have the output of a CGI script displayed on your page.

code:

<!--#exec cgi="scriptname.cgi?name=value" -->[/code]

This will include the output of scriptname.cgi.  Depending on your host, you may have to change the files from .html to .shtml.

For a more comprehensive explanation of SSI go to http://www.useforesite.com/tut_ssi.shtm 


------------------
"The way that can be told is not the eternal,
 it cannot be defined or explained,
 it can only be experienced..." Ashida Kim 

"The way that can be told is not the eternal,
it cannot be defined or explained,
it can only be experienced..." Ashida Kim

They have: 4 posts

Joined: Feb 2000

I just found out the my server doesn't support SSI...back to the drawing board...any other ways?

They have: 568 posts

Joined: Nov 1999

yep
<script src="CGI_URL.PL"></script>

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.