httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: [users@httpd] CGI Arguments
Date Fri, 10 Jul 2015 15:51:28 GMT

Thanks very much. 

Timothy Mann 

----- Original Message -----

From: "Kurtis Rader" <> 
Sent: Tuesday, July 7, 2015 5:36:56 PM 
Subject: Re: [users@httpd] CGI Arguments 

On Tue, Jul 7, 2015 at 12:29 PM, < > wrote: 

I can call a cgi script from an html form, but I am not able to call a cgi script with one
or more command-line arguments. Can anyone tell me how to do that? Thank you very much. 

CGI scripts don't have command-line arguments. Information is passed to them from the web
server via environment variables and, for POST requests, standard input. You pass arguments
to a CGI script via the URI query string. See

Kurtis Rader 
Caretaker of the exceptional canines Junior and Hank 

View raw message