Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 64 lines (40 sloc) 1.472 kb
21abc5b Claes Wikstrom Initial revision
authored
1
bea8261 Claes Wikstrom added log_wrap_size, configurable wrap size for all logs, fixed a bug in...
authored
2 <erl>
21abc5b Claes Wikstrom Initial revision
authored
3
bea8261 Claes Wikstrom added log_wrap_size, configurable wrap size for all logs, fixed a bug in...
authored
4 out(A) ->
20ece13 Claes Wikstrom more css hackery
authored
5 {ssi, "TAB.inc", "%%",[{"form", "choosen"}]}.
0be3c7e Claes Wikstrom untabified all of yaws
authored
6
bea8261 Claes Wikstrom added log_wrap_size, configurable wrap size for all logs, fixed a bug in...
authored
7 </erl>
21abc5b Claes Wikstrom Initial revision
authored
8
9
bea8261 Claes Wikstrom added log_wrap_size, configurable wrap size for all logs, fixed a bug in...
authored
10 <div id="entry">
e35a591 Claes Wikstrom more w3c compliance
authored
11 <h2>POST example </h2>
12
13 <p>This is a simple example where we get to fill in
14 a series of fields and POST the data by hitting the Submit button
15 at the end.
16 </p>
17 <p>
18 The action is set to the yaws file <tt>/post.yaws </tt> which
19 gets POSTed data in its <tt>ARG#arg.clidata</tt> field.
20 </p>
21
22 <form method="post"
0be3c7e Claes Wikstrom untabified all of yaws
authored
23 action="/post.yaws">
e35a591 Claes Wikstrom more w3c compliance
authored
24
25 This is a serious poll.
26
27 <p>Your favourite programming language? </p>
28 <input name="lang" type="text" size="48" />
29
30 <p>Imperative ? <input name="imperative" type="checkbox"/></p>
31
32 <p>How many tabs to you indent? <input name="tabs" type="text" /></p>
33
34 <p>Which OS do you use?</p>
35
36 <ol>
37 <li>Windows 95 pro ultra
38 <input name="os1" type="checkbox" value="w95"/></li>
39
40 <li>Windows XP beta cracked
41 <input name="os2" type="checkbox" value="xpbeta" /></li>
42 <li>Windows
43 <input name="os3" type="checkbox" value="windows"/></li>
44 <li>Other<input name="other" size="40" /></li>
45 </ol>
46
47 <p>Your email <input name="contact" size="42" /></p>
48
49 <p>Submit this POST to get an explanation of how to process the
50 POSTed data.</p>
51
52 <p><input type="submit" /> <input type="reset" /></p>
53
54 </form>
55
bea8261 Claes Wikstrom added log_wrap_size, configurable wrap size for all logs, fixed a bug in...
authored
56 </div>
57
58
59
60 <erl>
61 out(A) -> {ssi, "END2",[],[]}.
62 </erl>
21abc5b Claes Wikstrom Initial revision
authored
63
Something went wrong with that request. Please try again.