angelshark
MIS
Hello,
I've wrote a shell script that uses a parameter to run with different options. How do I pass this parameter to the shell script in CGI?
From the Unix shell, the script is invoked like this:
./status.sh PARAM
The script will then read the $1 environment variable and process accordingly.
How can this be done in CGI/SSI?
My SSI looks like this:
<!--#exec cgi="/cgi-bin/status.sh" -->
Thanks for your help.
I've wrote a shell script that uses a parameter to run with different options. How do I pass this parameter to the shell script in CGI?
From the Unix shell, the script is invoked like this:
./status.sh PARAM
The script will then read the $1 environment variable and process accordingly.
How can this be done in CGI/SSI?
My SSI looks like this:
<!--#exec cgi="/cgi-bin/status.sh" -->
Thanks for your help.