Article View: alt.linux
Article #529Re: CGI Scripts
From: akt
Date: Wed, 24 May 2000 00:00
Date: Wed, 24 May 2000 00:00
42 lines
2211 bytes
2211 bytes
What language are you writing your CGI in?
Any decent language, you ought to be able to pick out either the first x
characters, or strlen(variablename)+1, and whack them off.
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:
<F_1X4.7003$UP6.243686@news4.mco>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<391eaea9.0@news2.cluster1.telinco.net> <39203BA1.DE35E3BD@binc.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8a83,b79e502c13b8bd95 X-Google-Attributes: gidf8a83,public X-Google-Thread: 100df9,b79e502c13b8bd95 X-Google-Attributes: gid100df9,public X-Google-Thread: faa64,b79e502c13b8bd95 X-Google-Attributes: gidfaa64,public X-Google-Thread: 100c5f,b79e502c13b8bd95 X-Google-Attributes: gid100c5f,public X-Google-Thread: 102983,b79e502c13b8bd95 X-Google-Attributes: gid102983,public From: akt@iname.com Subject: Re: CGI Scripts Date: 2000/05/24 Message-ID: <F_1X4.7003$UP6.243686@news4.mco> X-Deja-AN: 627021261 X-MIMETrack: Serialize by Idle on Andrew Thompson(Release 5.0.3 |March 21, 2000) at 05/24/2000 11:25:40 PM, Serialize complete at 05/24/2000 11:25:40 PM References: <391eaea9.0@news2.cluster1.telinco.net> <39203BA1.DE35E3BD@binc.net> Content-Type: text/plain; charset="us-ascii" X-Trace: news4.mco 959228965 63.14.135.229 (Thu, 25 May 2000 00:29:25 EDT) MIME-Version: 1.0 NNTP-Posting-Date: Thu, 25 May 2000 00:29:25 EDT Newsgroups: alt.linux,alt.os.linux,alt.os.linux.mandrake,aus.computers.linux,comp.os.linux.admin