Re: CGI Arguments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kurtis,

Thanks very much.

Timothy Mann



From: "Kurtis Rader" <krader@xxxxxxxxxxxxx>
To: users@xxxxxxxxxxxxxxxx
Sent: Tuesday, July 7, 2015 5:36:56 PM
Subject: Re: CGI Arguments

On Tue, Jul 7, 2015 at 12:29 PM, <tim_mann@xxxxxxxxxxx> 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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux