[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua + cgilua + lightttpd
- From: Petite Abeille <petite.abeille@...>
- Date: Mon, 5 Aug 2013 20:16:57 +0200
On Aug 5, 2013, at 7:50 PM, Henrique Gogó <henriquegogo@gmail.com> wrote:
> I found a way to get env variables, but using bash command.
> But I don't want to use this approach. I dont think this is a good option
> to get environment variables.
Indeed this is a bit over the top. os.getenv() should do just fine for CGI.
http://www.lua.org/manual/5.2/manual.html#pdf-os.getenv