Hi Thomas,<br><br>Sorry for my previous message I haven't seen the subjet in other archives. All patches must be available on your Web site.<br><br>I use a standard linux for my test.<br><br>My new question concerns the GET and POST methods. Their reunion does not distinguish them when they are used at the same time.<br>
The next example (named index.kl1) shows this problem :<br><br> <%!<br> char* valeur = NULL;<br> %><br> <html><br> <body><br> <p><br> <form method=<span style="font-weight: bold;">"POST"</span> action="index.kl1<span style="font-weight: bold;">?vala=getvara&valb=getvarb</span>"><br>
<input type="hidden" name="vara" value="postvara" /><br> <input type="hidden" name="varb" value="postvarb" /><br> <input type="submit" value="Send" name="send" /> <br>
</form><br> </p><br> <%<br> valeur = request_get_arg(request, "send");<br> if(valeur != NULL)<br> {<br> io_printf(out, "<p>Used method : %i</p>", request_get_method(request));<br>
io_printf(out, "<p>Receive values :<ul><li>vara : %s</li><li>varb : %s</li></ul></p>", request_get_arg(request, "vara"), request_get_arg(request, "varb"));<br>
}<br> %><br> </body><br> </html><br clear="all"><br>For this example the used method is "HM_POST", "vara = getvara" and "varb = getvarb". The POST values are forgotten.<br>
My method is correct ?<br>Can I use the GET and POST value at the same time ?<br>How to dodge this problem ?<br><br><br>Thanks.<br>-- <br>Mickaël AUGER<br><a href="mailto:mickael.auger@gmail.com">mickael.auger@gmail.com</a>