🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.linux
Article #539

Re: CGI Scripts

#539
From: Jack Kelly Dobson
Date: Mon, 15 May 2000 00:00
34 lines
1919 bytes
David Homer wrote:
> 
> Hey guys,
> 
> Im trying to use CGI-script with Apache on Linux... I need to say have a
> form that sends simple information and the the CGI script uses that
> information (sh script)
> 
> I can get the form to send the information to the script but the script sees
> it as
> 
> value=thevalueyouputin
> Thats no good as I cant get the sh script to ignore the value= bit
> 
> Do this make sense??? Please e-mail me on
> davidhomer@hotmail.com
> 
> Thanks
> 
> Dave

That is how CGI works.

All data sent from a form is sent <variablename>=<value> when
value is not NULL.

You have to parse the variable data out of the string to use it.

-- 
Jack Kelly Dobson        "Everything I say is factual,
Aggressive Media            unless, of course, I'm wrong,
                               or lying."

"Providing technology solutions, whether you want them or not!"
Technical Details
Message-ID: <39203BA1.DE35E3BD@binc.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <391eaea9.0@news2.cluster1.telinco.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f8a83,b79e502c13b8bd95,start
X-Google-Attributes: gidf8a83,public
X-Google-Thread: 100df9,b79e502c13b8bd95,start
X-Google-Attributes: gid100df9,public
X-Google-Thread: faa64,b79e502c13b8bd95,start
X-Google-Attributes: gidfaa64,public
X-Google-Thread: 100c5f,b79e502c13b8bd95,start
X-Google-Attributes: gid100c5f,public
X-Google-Thread: 102983,b79e502c13b8bd95,start
X-Google-Attributes: gid102983,public
From: Jack Kelly Dobson <jdobson@binc.net>
Subject: Re: CGI Scripts
Date: 2000/05/15
Message-ID: <39203BA1.DE35E3BD@binc.net>
X-Deja-AN: 623729707
Content-Transfer-Encoding: 7bit
References: <391eaea9.0@news2.cluster1.telinco.net>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: newsabuse@supernews.com
Organization: Posted via Supernews, http://www.supernews.com
MIME-Version: 1.0
Newsgroups: alt.linux,alt.os.linux,alt.os.linux.mandrake,aus.computers.linux,comp.os.linux.admin