[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Simple CGI in Lua
- From: "Robert Raschke" <rtrlists@...>
- Date: Tue, 16 Sep 2008 15:11:12 +0100
I think it's actually worthwhile to learn the CGI spec. It's not very
much. Probably faster to learn than a cgi wrapper API.
The really hard bit is trying to get multipart mime forms right. I
gave up when I reached that level of complexity.
But parsing your cgi args (PATH_INFO and QUERY_STRING) is really very
trivial. And there's a few neat html builder libs for Lua out there
you can use to assemble your page.