]> granicus.if.org Git - apache/commitdiff
xforms
authorDaniel Gruno <humbedooh@apache.org>
Mon, 29 Apr 2013 12:34:32 +0000 (12:34 +0000)
committerDaniel Gruno <humbedooh@apache.org>
Mon, 29 Apr 2013 12:34:32 +0000 (12:34 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1477003 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_lua.html.en
docs/manual/mod/mod_lua.xml.fr
docs/manual/mod/mod_lua.xml.meta

index 59b6b69ce9e8dbb1373315b74c876a28c8ae6dbc..9273a2ba832a6fe2f9e68a07a0c849a98cbd660e 100644 (file)
@@ -688,19 +688,21 @@ end
 
 
 <pre class="prettyprint lang-lua">
-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&amp;foo=2&amp;foo=3):
 
-local GET = r:parseargs()
+local GET, GETMULTI = r:parseargs()
 r:puts("Your name is: " .. GET['name'] or "Unknown")
 </pre>
 
 
 <pre class="prettyprint lang-lua">
-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")
 </pre>
 
index c1f1224b4e353fce92b68ed6b390c0230af126f6..15526e78b9e95c3db7565774a6ee186657ce44cd 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision : 1470271 -->
+<!-- English Revision: 1470271:1477000 (outdated) -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
index b55c7710e95c9f695fe435d176007bdf28716825..8fc1a0efdf34e8b8870065a1ce5d7c523d3f652c 100644 (file)
@@ -8,6 +8,6 @@
 
   <variants>
     <variant>en</variant>
-    <variant>fr</variant>
+    <variant outdated="yes">fr</variant>
   </variants>
 </metafile>