Yao, Minghua wrote: > > 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> I forget if POST or GET is the default METHOD, but... If it's GET, you can do: $html = file('http://theirserver.com/path/to/organism?something=+AGRO&numcolumns=2') or die("Couldn't get URL"); If it's POST, Google for "function PostToHost" and you'll find source code to send POST data. > 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 > > -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php