On Tue, Jul 7, 2015 at 12:29 PM, <tim_m...@comcast.net> 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 https://en.wikipedia.org/wiki/Common_Gateway_Interface -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank