Great thanks :)<br><br>I think that a function like &quot;print_postargs&quot; existed.<br><br>Bye.<br><br><div class="gmail_quote">2009/5/25 thomas fossati <span dir="ltr">&lt;<a href="mailto:tho@koanlogic.com">tho@koanlogic.com</a>&gt;</span><br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Mickael,<div class="im"><br>
<br>
On May 25, 2009, at 5:24 PM, Mickael Auger wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
But today, I wish get all POST data to print directly without parse them and without know their name or their value.<br>
<br>
Do you have a function to get all POST data and convert to a string, please ?<br>
</blockquote>
<br>
<br></div>
you have to create a formatter for your name/value pairs and supply it to the vars_foreach function, like the following:<br>
<br>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<br>
&lt;%!<br>
    int postargs_fmt (var_t *v, void *dummy)<br>
    {<br>
        io_printf(out, &quot;&lt;p&gt;%s = %s&lt;/p&gt;&quot;, var_get_name(v), var_get_value(v));<br>
        return 0;<br>
    }<br>
%&gt;<br>
&lt;html&gt;<br>
&lt;head&gt;&lt;title&gt;test POST args fmt&lt;/title&gt;&lt;/head&gt;<br>
&lt;body&gt;<br>
<br>
&lt;%<br>
    vars_foreach(request_get_postargs(request), postargs_fmt, NULL);<br>
%&gt;<br>
<br>
&lt;/body&gt;<br>
&lt;/html&gt;<br>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<br>
<br>
ciao, t.<br>
<br>
_______________________________________________<br>
Klone-users mailing list<br>
<a href="mailto:Klone-users@koanlogic.com" target="_blank">Klone-users@koanlogic.com</a><br>
<a href="http://koanlogic.com/cgi-bin/mailman/listinfo/klone-users" target="_blank">http://koanlogic.com/cgi-bin/mailman/listinfo/klone-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Mickaël AUGER<br><br>