PDA

View Full Version : Lua functions from webforms (mod-lua / Kepler)



kumoshk
September 26th, 2009, 05:47 PM
If I want to access a particular function of a .lua file through a web form, how do I do it?

Here's the mod-python way to do what I want:
<form action="form.py/functionName" method="POST">

How do I do the same in Lua? As it stands, I need to use a new file for every function.