[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Plain CGI with Lua
- From: gary ng <garyng2000@...>
- Date: Fri, 2 May 2008 17:08:09 -0700 (PDT)
you don't need anything if it is plain CGI.
just do a :
popen('env')
would get you the necessary thing. Though if you
really want, you can use my forked() fastcgi/cgi
loader which do this for you without a new sh and it
supports fastcgi too. of just grab the lfcgi.so from
kepler.
As for HTML parsing, it is not too difficult given
lua's power.
though wsapi is not too heavy so I would say use that.
--- Jilani Khaldi <jilani@cheapnet.it> wrote:
> Hi All,
> Lua again...
> I need to write very simple web apps using plain CGI
> written in Lua. I
> just need to read vars in HTML forms, read and set
> values to cookies. I
> have found Kepler very big for my needs and I
> couldn't get CGILua
> working. So, is there any simple solution to this
> problem, perhaps just
> one or two modules to copy in a directory and call
> them?
> Thank you very much.
>
>
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ