Re: [PHP] How to Pass Parameters to a CGI
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. > > -- > 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: > > A. tumefaciens C58 > V. cholerae N16961 > > > .. > If displaying relative data values, use > a single data column > onClick="this.form.expressiontype.selectedIndex=1"> the ratio of two data > columns > > > Data column (numerator in ratios): > > > > File containing experimental data (NOT a URL): > name =" datafile" >> > > -- > > 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
Re: [PHP] How to Pass Parameters to a CGI
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. This is not really a PHP question, you can pass values in the query string eg http://yoursite.com/cgi-bin/what.pl?param1=value1¶m2=value2 -- Raditha Dissanayake. -- http://www.radinks.com/print/card-designer/ | Card Designer Applet http://www.radinks.com/upload/ | Drag and Drop Upload -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] How to Pass Parameters to a CGI
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. -- Select a dataset: A. tumefaciens C58 V. cholerae N16961 .. If displaying relative data values, use a single data column the ratio of two data columns Data column (numerator in ratios): File containing experimental data (NOT a URL): -- Could anyone please tell me how to set the parameters like that using PHP/where to find relavant information? Thanks in advance. -Minghua Yao