• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 214
  • Last Modified:

Executing CGI by SSI

I want to generate the content of web page dynamically by calling CGI inside SSI tag. But I don't know how to pass parameters to CGI. How can I pass parameters to CGI in SSI tag?
0
tan
Asked:
tan
1 Solution
 
christopher sagayamCommented:
just pass the parameters to the HTML or SHTML page

if first.html or first.shtml contains your SSI code

calling  

http://www.somehost.com/first.html?param1=value1¶m2=value2

will pass

param1 and param2 to the CGI through the SSI


0
 
tanAuthor Commented:
Thanks!
0
 
stanleyhuenCommented:
how about when i have two cgi programs in the HTML or SHTML page ?
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now