Help, in lua web - php = $_POST["name"] and in LUA?

Subscribe to Help, in lua web - php = $_POST["name"] and in LUA? 3 posts, 2 voices

 
Avatar Palmares 1 post

Help, in lua web – php = $_POST[“name”] and in LUA?

I need to know how to take in lua the post messages.

________—-

<html> <form name="input" action="index.lp" method="POST"> Sorte: <input name="help" type="text"> <input type="submit" value="Submit"> </form> <html>
 
Avatar BenMcDonald 44 posts

Is your question, how do you get the value of query parameters for a post?

 
Avatar BenMcDonald 44 posts

If that is indeed your question then I think you want to use the cgilua.QUERY and cgilua.POST tables

See http://www.keplerproject.org/cgilua/manual.html#parameters for more information