Hi
        Its all about which language u are using for cgi. Perl has its own
CGI module, so you can directly take the values. PHP provides rich
functionality for this. if you are using any other language surely there
should be some module on CGI. Try out. If you are using bash script for
this, then u have to parse it manually using cut like utilities.
        bash also has its own string manipulation functions. refer bash
man page.
 


On Mon, 4 Feb 2002, Logu wrote:

> hi,
> how get the values passed from a html form to a cgi shell scripts. For ex.
> the query string after submitting the form is like this.
> http://172.16.1.100/cgi-bin/mh?name=lo&val=2
> 
> Now i want pass these values to the shell script as two arguements. Can
> someone tell me how to do this. I tried with
> http://172.16.1.100/cgi-bin/mh?lo+2 then it works.
> 
> -Logu
> 
> 
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> ---
> Visit our home page at: http://www.chennailug.org
> Send e-mail to "[EMAIL PROTECTED]" with "unsubscribe" 
> in either the subject or the body to unsubscribe from this list.
> 

S.Murali Krishna
[EMAIL PROTECTED]  
===================================== 
We grow slow trying to be great
                                                                
                   - E. Stanley Jones
-------------------------------------


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to