Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 29 lines (26 sloc) 0.945 kb
b349dac @klacke ""
authored
1 <erl>
2
3 out(A) ->
20ece13 @klacke more css hackery
authored
4 [{ssi, "TAB.inc", "%%",[{"upload0", "choosen"}]},
bea8261 @klacke added log_wrap_size, configurable wrap size for all logs, fixed a bug in...
authored
5 {ehtml,
b349dac @klacke ""
authored
6 {html, [],
bea8261 @klacke added log_wrap_size, configurable wrap size for all logs, fixed a bug in...
authored
7 {'div',[{id, "entry"}],
8 [{h1, [], "Upload a file to the webserver"},
4c90d3a @vinoski add new multipart example yaws_multipart.erl (Praveen Ray)
vinoski authored
9 {p, [], ["The code that parses the multipart form data resides in ",
10 {a, [{href, "code.yaws?file=/upload.yaws"}], "upload.yaws"},
11 "."]},
0be3c7e @klacke untabified all of yaws
authored
12 {br,[],[]},
13 {hr,[],[]},
4c90d3a @vinoski add new multipart example yaws_multipart.erl (Praveen Ray)
vinoski authored
14 {form, [{enctype, "multipart/form-data"},
0be3c7e @klacke untabified all of yaws
authored
15 {method, post},
16 {action, "/upload.yaws"}
4c90d3a @vinoski add new multipart example yaws_multipart.erl (Praveen Ray)
vinoski authored
17 ],
0be3c7e @klacke untabified all of yaws
authored
18 [{input, [{type, submit}, {value, "Upload"}] ,[]},
19 {input, [{type,file}, {width, "50"}, {name, "foo"}], []}
4c90d3a @vinoski add new multipart example yaws_multipart.erl (Praveen Ray)
vinoski authored
20 ]},
21 {br,[],[]},
22 {hr,[],[]},
23 {p, [], ["You can also find a more extensive example in ",
24 {a, [{href, "code.yaws?file=/yaws_multipart.erl"}],
25 "yaws_multipart.erl"}, "."]}]}}},
bea8261 @klacke added log_wrap_size, configurable wrap size for all logs, fixed a bug in...
authored
26 {ssi, "END2",[],[]}].
b349dac @klacke ""
authored
27
28 </erl>
Something went wrong with that request. Please try again.