1. RE: CGI sting parser

Thank you.

Irv Mullins wrote:
> On Tue, 19 Mar 2002 23:18:33 +0000
> Jeromie <g__vine at hotmail.com> wrote:
> 
> > 
> > Has anyone made a cgi string parser??
> > Ive been working on using Eu with CGI's and
> > discover'd gettign the data out of the cgi
> > string when its more then 1 variable is not
> > easy. Any hints on how to extract the strings?
> > 
> 
> Take a look at http://www.RapidEuphoria.com/cgi.tar.gz
> 
> There's a file in there "demung.e" which takes care of 
> the problem.
> 
> Regards,
> Irv
> 
> 



Jeromie Reeves
Grape Vine
13728824

new topic     » topic index » view message » categorize

2. RE: CGI sting parser

Thanx, What do you mean by test?
I should have noted this is for a
commercial site(assuming all the
blocks fit, semas people like to
throw duplo's in with lego's)

Jeromie

Robert Craig wrote:
> Jeromie Reeves writes:
> > Has anyone made a cgi string parser??
> 
> Besides Irv's code, you could also look at the
> Euphoria CGI program, economy.exu, that we have 
> running now on FreeBSD:
> 
> http://www.rapideuphoria.com/economy.txt
> 
> It handles the HTML form input at:
> 
> http://www.rapideuphoria.com/ecoform.htm
> 
> The function parse_input() converts from the CGI-style:
> 
> aaa=bbb&ccc=ddd&eee=fff
> 
> to the Euphoria sequence:
> {
>   {"aaa", "bbb"},
>   {"ccc", "ddd"},
>   {"eee", "fff"},    -- etc.
> }
> 
> (If you run it, please indicate that it's just a test.)
> 
> Regards,
>    Rob Craig
>    Rapid Deployment Software
>    http://www.RapidEuphoria.com
> 
> 



Jeromie Reeves
Grape Vine
13728824

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu