[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Lua-CGI question
- From: Martin_Doering@...
- Date: Mon, 10 Jul 2000 14:19:09 +0200
Hi!
I have a question about the following Lua-CGI example:
For Example URL:
http://my.server.com/cgi-bin/cgitest.lua/extra/path?word=hello&numbered
you will get filled tables like:
CGI.path_info = "/extra/path"
CGI.form_data["word"] = "hello"
CGI.form_data[1] = "numbered"
I can easyly ask, if e.g.
CGI.form_data["word"]
is empty or set to something. I think I could also ask for
CGI.form_data.word = "hello"
am I right? But how can I, if I gave a numbered in the URL like above,
find out, if numbered is in the table CGI.form_data? Do I have to step
through all the table?
So you see, I'm new to lua, and possibly it's totally easy... :-(
Martin