From: Daniel Gruno Date: Mon, 29 Apr 2013 12:34:32 +0000 (+0000) Subject: xforms X-Git-Tag: 2.5.0-alpha~5518 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=85b2373ca2178462ba2e20b03da4ad89dcc1c8a3;p=apache xforms git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1477003 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_lua.html.en b/docs/manual/mod/mod_lua.html.en index 59b6b69ce9..9273a2ba83 100644 --- a/docs/manual/mod/mod_lua.html.en +++ b/docs/manual/mod/mod_lua.html.en @@ -688,19 +688,21 @@ end
-r:parseargs() -- returns a Lua table containing the request's query string arguments:
+r:parseargs() -- returns two tables; one standard key/value table for regular GET data, 
+              -- and one for multi-value data (fx. foo=1&foo=2&foo=3):
 
-local GET = r:parseargs()
+local GET, GETMULTI = r:parseargs()
 r:puts("Your name is: " .. GET['name'] or "Unknown")
 
-r:parsebody([sizeLimit]) -- parse the request body as a POST and return a lua table.
-                 -- An optional number may be passed to specify the maximum number 
-                 -- of bytes to parse. Default is 8192 bytes:
+r:parsebody([sizeLimit]) -- parse the request body as a POST and return two lua tables,
+                         -- just like r:parseargs().
+                         -- An optional number may be passed to specify the maximum number 
+                         -- of bytes to parse. Default is 8192 bytes:
                  
-local POST = r:parsebody(1024*1024)
+local POST, POSTMULTI = r:parsebody(1024*1024)
 r:puts("Your name is: " .. POST['name'] or "Unknown")
 
diff --git a/docs/manual/mod/mod_lua.xml.fr b/docs/manual/mod/mod_lua.xml.fr index c1f1224b4e..15526e78b9 100644 --- a/docs/manual/mod/mod_lua.xml.fr +++ b/docs/manual/mod/mod_lua.xml.fr @@ -1,7 +1,7 @@ - + diff --git a/docs/manual/mod/mod_lua.xml.meta b/docs/manual/mod/mod_lua.xml.meta index b55c7710e9..8fc1a0efdf 100644 --- a/docs/manual/mod/mod_lua.xml.meta +++ b/docs/manual/mod/mod_lua.xml.meta @@ -8,6 +8,6 @@ en - fr + fr