1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
|
<html>
<table>
<tr>
<td colspan="3"> GET: </td>
</tr>
<tr>
<td>
<a href="/cgi-bin/cgi/t/tcgi1.lua?field1=ab&field2=cd">cgi</a>
</td>
<td>
<a href="/fcgi/fastcgi.lua/t/tfcgi1.lua?field1=ab&field2=cd">fcgi</a>
</td>
<td>
<a href="/t/tmod1.lua?field1=ab&field2=cd">modulo</a>
</td>
</tr>
<tr>
<td colspan="3"> POST: </td>
</tr>
<tr>
<td colspan="3">
<form method="POST" action="">
<table>
<tr>
<td colspan="3">
field 1: <input type="text" name="field1"><br>
field 2: <input type="text" name="field2"><br>
</td>
</tr>
<tr>
<td>
<a href="javascript:document.forms[0].action='/cgi-bin/cgi/t/tcgi1.lua';document.forms[0].submit()">cgi</a>
</td>
<td>
<a href="javascript:document.forms[0].action='/fcgi/fastcgi.lua/t/tfcgi1.lua';document.forms[0].submit()">fcgi</a>
</td>
<td>
<a href="javascript:document.forms[0].action='/t/tmod1.lua';document.forms[0].submit()">modulo</a>
</td>
</tr>
</table>
</form>
</td>
</tr>
<tr>
<td colspan="3"> POST (with upload): </td>
</tr>
<tr>
<td colspan="3">
<form method="POST" enctype="multipart/form-data" action="">
<table>
<tr>
<td colspan="3">
field 1: <input type="text" name="field1"><br>
file: <input type="file" name="file"><br>
</td>
</tr>
<tr>
<td>
<a href="javascript:document.forms[1].action='/cgi-bin/cgi/t/tcgi1.lua';document.forms[1].submit()">cgi</a>
</td>
<td>
<a href="javascript:document.forms[1].action='/fcgi/fastcgi.lua/t/tfcgi1.lua';document.forms[1].submit()">fcgi</a>
</td>
<td>
<a href="javascript:document.forms[1].action='/t/tmod1.lua';document.forms[1].submit()">modulo</a>
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<small>$Id: test.html,v 1.2 2004/06/07 12:04:10 tomas Exp $</small>
</html>
|