Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (21 sloc) 0.721 kB
<erl>
out(A) ->
[{ssi, "TAB.inc", "%%",[{"upload0", "choosen"}]},
{ehtml,
{html, [],
{'div',[{id, "entry"}],
[{h1, [], "Upload a file to the webserver"},
{p, [], ["The code that parses the multipart form data resides in ",
{a, [{href, "code.yaws?file=/upload.yaws"}], "upload.yaws"},
"."]},
{br,[],[]},
{hr,[],[]},
{form, [{enctype, "multipart/form-data"},
{method, post},
{action, "/upload.yaws"}
],
[{input, [{type, submit}, {value, "Upload"}] ,[]},
{input, [{type,file}, {width, "50"}, {name, "foo"}], []}
]}]}}},
{ssi, "END2",[],[]}].
</erl>
Jump to Line
Something went wrong with that request. Please try again.