<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.nginx.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.nginx.org/index.php?title=HttpFormInputModule&amp;feed=atom&amp;action=history</id>
		<title>HttpFormInputModule - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.nginx.org/index.php?title=HttpFormInputModule&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://wiki.nginx.org/index.php?title=HttpFormInputModule&amp;action=history"/>
		<updated>2013-05-22T21:30:36Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.0</generator>

	<entry>
		<id>http://wiki.nginx.org/index.php?title=HttpFormInputModule&amp;diff=1437&amp;oldid=prev</id>
		<title>Craigbarnes: s/fomr/form/</title>
		<link rel="alternate" type="text/html" href="http://wiki.nginx.org/index.php?title=HttpFormInputModule&amp;diff=1437&amp;oldid=prev"/>
				<updated>2012-02-07T14:45:31Z</updated>
		
		<summary type="html">&lt;p&gt;s/fomr/form/&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 14:45, 7 February 2012&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 99:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 99:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Changes with form-input-module v0.0.2&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Changes with form-input-module v0.0.2&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; *) support &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;set_fomr_input_multi&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; *) support &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;set_form_input_multi&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; *) support PUT method&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; *) support PUT method&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Craigbarnes</name></author>	</entry>

	<entry>
		<id>http://wiki.nginx.org/index.php?title=HttpFormInputModule&amp;diff=1436&amp;oldid=prev</id>
		<title>Craigbarnes: Correct some typos</title>
		<link rel="alternate" type="text/html" href="http://wiki.nginx.org/index.php?title=HttpFormInputModule&amp;diff=1436&amp;oldid=prev"/>
				<updated>2012-02-07T14:44:22Z</updated>
		
		<summary type="html">&lt;p&gt;Correct some typos&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 14:44, 7 February 2012&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 48:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 48:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; }&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; location /bar {&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; location /bar {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160;  &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;set_fomr_input_multi &lt;/del&gt;$data; # read all &amp;quot;data&amp;quot; field into $data&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160;  &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;set_form_input_multi &lt;/ins&gt;$data; # read all &amp;quot;data&amp;quot; field into $data&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160;  &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;set_fomr_input_multi &lt;/del&gt;$foo data; # read all &amp;quot;data&amp;quot; field into $foo&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160;  &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;set_form_input_multi &lt;/ins&gt;$foo data; # read all &amp;quot;data&amp;quot; field into $foo&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160;  array_join ' ' $data; # now $data is &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;an &lt;/del&gt;string&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160;  array_join ' ' $data; # now $data is &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;a &lt;/ins&gt;string&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160;  array_join ' ' $foo;&amp;#160; # now $foo is &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;an &lt;/del&gt;string&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160;  array_join ' ' $foo;&amp;#160; # now $foo is &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;a &lt;/ins&gt;string&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; }&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/geshi&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/geshi&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Craigbarnes</name></author>	</entry>

	<entry>
		<id>http://wiki.nginx.org/index.php?title=HttpFormInputModule&amp;diff=526&amp;oldid=prev</id>
		<title>MichaelLustfield: moved NginxHttpFormInputModule to HttpFormInputModule:&amp;#32;Removing Nginx prefix from page titles</title>
		<link rel="alternate" type="text/html" href="http://wiki.nginx.org/index.php?title=HttpFormInputModule&amp;diff=526&amp;oldid=prev"/>
				<updated>2010-09-22T19:25:54Z</updated>
		
		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/NginxHttpFormInputModule&quot; class=&quot;mw-redirect&quot; title=&quot;NginxHttpFormInputModule&quot;&gt;NginxHttpFormInputModule&lt;/a&gt; to &lt;a href=&quot;/HttpFormInputModule&quot; title=&quot;HttpFormInputModule&quot;&gt;HttpFormInputModule&lt;/a&gt;: Removing Nginx prefix from page titles&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Name =&lt;br /&gt;
&lt;br /&gt;
form-input-nginx-module&lt;br /&gt;
&lt;br /&gt;
= Description =&lt;br /&gt;
&lt;br /&gt;
This is a nginx module that reads HTTP POST and PUT request body encoded in&lt;br /&gt;
&amp;quot;application/x-www-form-urlencoded&amp;quot;, and parse the arguments in request body&lt;br /&gt;
into nginx variables.&lt;br /&gt;
&lt;br /&gt;
This module depends on the ngx_devel_kit(NDK) module.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
&lt;br /&gt;
    Get the nginx source code from nginx.net (http://nginx.net/).&lt;br /&gt;
    Get the ngx_devel_kit source code from (http://github.com/simpl-it/ngx_devel_kit)&lt;br /&gt;
    Unpack the source code and build nginx with this module.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;geshi lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
    $ wget 'http://sysoev.ru/nginx/nginx-0.8.28.tar.gz'&lt;br /&gt;
    $ tar -xzvf nginx-0.8.28.tar.gz&lt;br /&gt;
    $ cd nginx-0.8.28/&lt;br /&gt;
&lt;br /&gt;
    $ git-clone http://github.com/simpl-it/ngx_devel_kit.git&lt;br /&gt;
    $ git-clone http://github.com/calio/form-input-nginx-module.git&lt;br /&gt;
&lt;br /&gt;
    $ ./configure --add-module=/somepath/form-input-nginx-module --add-module=/somepath/ngx_devel_kit&lt;br /&gt;
    $ make -j2&lt;br /&gt;
    $ make install&lt;br /&gt;
&amp;lt;/geshi&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
&lt;br /&gt;
    set_form_input $variable;&lt;br /&gt;
    set_form_input $variable argument;&lt;br /&gt;
&lt;br /&gt;
    set_form_input_multi $variable;&lt;br /&gt;
    set_form_input_multi $variable argument;&lt;br /&gt;
&lt;br /&gt;
example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;geshi lang=&amp;quot;nginx&amp;quot;&amp;gt;&lt;br /&gt;
    #nginx.conf&lt;br /&gt;
&lt;br /&gt;
    location /foo {&lt;br /&gt;
         set_form_input $data;    # read &amp;quot;data&amp;quot; field into $data&lt;br /&gt;
         set_form_input $foo foo; # read &amp;quot;foo&amp;quot; field into $foo&lt;br /&gt;
    }&lt;br /&gt;
    location /bar {&lt;br /&gt;
         set_fomr_input_multi $data; # read all &amp;quot;data&amp;quot; field into $data&lt;br /&gt;
         set_fomr_input_multi $foo data; # read all &amp;quot;data&amp;quot; field into $foo&lt;br /&gt;
         array_join ' ' $data; # now $data is an string&lt;br /&gt;
         array_join ' ' $foo;  # now $foo is an string&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/geshi&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Compatibility =&lt;br /&gt;
&lt;br /&gt;
The following versions of Nginx should work with this module:&lt;br /&gt;
&lt;br /&gt;
* '''0.8.x &amp;lt;= 0.8.41'''                       (last tested version is 0.8.43)&lt;br /&gt;
* '''0.7.x'''                                 (last tested version is 0.7.67)&lt;br /&gt;
&lt;br /&gt;
= Copyright &amp;amp; License =&lt;br /&gt;
&lt;br /&gt;
Copyright (c) 2010, Taobao Inc., Alibaba Group ( http://www.taobao.com ).&lt;br /&gt;
&lt;br /&gt;
Copyright (c) 2010, calio &amp;lt;vipcalio@gmail.com&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This module is licensed under the terms of the BSD license.&lt;br /&gt;
&lt;br /&gt;
Redistribution and use in source and binary forms, with or without&lt;br /&gt;
modification, are permitted provided that the following conditions&lt;br /&gt;
are met:&lt;br /&gt;
&lt;br /&gt;
* Redistributions of source code must retain the above copyright notice, this &lt;br /&gt;
list of conditions and the following disclaimer.&lt;br /&gt;
* Redistributions in binary form must reproduce the above copyright notice, &lt;br /&gt;
this list of conditions and the following disclaimer in the documentation and/or &lt;br /&gt;
other materials provided with the distribution.&lt;br /&gt;
* Neither the name of the Taobao Inc. nor the names of its contributors may be &lt;br /&gt;
used to endorse or promote products derived from this software without specific &lt;br /&gt;
prior written permission.&lt;br /&gt;
&lt;br /&gt;
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS&lt;br /&gt;
&amp;quot;AS IS&amp;quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT&lt;br /&gt;
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR&lt;br /&gt;
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT&lt;br /&gt;
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,&lt;br /&gt;
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED&lt;br /&gt;
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR&lt;br /&gt;
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF&lt;br /&gt;
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING&lt;br /&gt;
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS&lt;br /&gt;
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.&lt;br /&gt;
&lt;br /&gt;
= Changelog =&lt;br /&gt;
&lt;br /&gt;
Changes with form-input-module v0.0.2&lt;br /&gt;
&lt;br /&gt;
  *) support set_fomr_input_multi&lt;br /&gt;
  *) support PUT method&lt;br /&gt;
&lt;br /&gt;
Changes with form-input-module v0.0.1&lt;br /&gt;
&lt;br /&gt;
  *) support set_form_input&lt;/div&gt;</summary>
		<author><name>MichaelLustfield</name></author>	</entry>

	</feed>