How to Pass Parameters to a CGI
| From: | Yao, Minghua | Date: | Fri, 03 Dec 2004 19:36:20 +0000 |
| Subject: | How to Pass Parameters to a CGI | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-203462@lists.php.net to get a copy of this message | ||
Hi, everyone,
I want to pass several parameters to a CGI program run on another server. The following source of
that program shows the parameters that need to be set manually.
------------------------------------------------------------------------------------------
<FORM name=organism>
Select a dataset:
<SELECT>
<OPTION value =" AGRO">A. tumefaciens C58
<OPTION value =" VCHO">V. cholerae N16961
</SELECT>
</FORM>
......
If displaying relative data values, use
<input type=radio name=numcolumns value=1 checked style="background-color: white"
onClick="this.form.column2.value=''"> a single data column
<input type=radio name=numcolumns value=2 style="background-color: white"
onClick="this.form.expressiontype.selectedIndex=1"> the ratio of two data columns
<p>
Data column (numerator in ratios):
<textarea name=column1 cols=3 rows=10></textarea>
<p>
File containing experimental data (NOT a URL):
<input type =" file"
name =" datafile"
>
<p>
------------------------------------------------------------------------------------------
Could anyone please tell me how to set the parameters like that using PHP/where to find
relavant information? Thanks in advance.
-Minghua Yao