</HEAD>
<BODY BACKGROUND="/image&name=background" TEXT="#000000" LINK="#004400">
<H2>Citadel/UX</H2>
- <UL>
- <LI><A HREF="/knrooms" TARGET="bottom">List known rooms
- <LI><A HREF="/gotonext" TARGET="top">Goto next room
- <LI><A HREF="/skip" TARGET="top">Skip this room
- <LI><A HREF="/ungoto" TARGET="top">Ungoto
- <HR>
- <LI><A HREF="/readnew" TARGET="bottom">Read new messages
- <LI><A HREF="/readfwd" TARGET="bottom">Read all messages
- <LI><A HREF="/display_enter" TARGET="bottom">Enter a message
- <HR>
- <LI><A HREF="/whobbs" TARGET="bottom">Who is online?
- <LI><A HREF="/userlist" TARGET="bottom">User list
- <LI><A HREF="/advanced" TARGET="bottom">Advanced options
- <HR>
- <LI><A HREF="/termquit" TARGET="_top">Log off
- </UL>
+ <FONT SIZE=-1>
+ <A HREF="/knrooms" TARGET="bottom">List known rooms<BR>
+ <A HREF="/gotonext" TARGET="top">Goto next room<BR>
+ <A HREF="/skip" TARGET="top">Skip this room<BR>
+ <A HREF="/ungoto" TARGET="top">Ungoto<BR>
+ <HR>
+ <A HREF="/readnew" TARGET="bottom">Read new messages<BR>
+ <A HREF="/readfwd" TARGET="bottom">Read all messages<BR>
+ <A HREF="/display_enter" TARGET="bottom">Enter a message<BR>
+ <HR>
+ <A HREF="/whobbs" TARGET="bottom">Who is online?<BR>
+ <A HREF="/userlist" TARGET="bottom">User list<BR>
+ <A HREF="/advanced" TARGET="bottom">Advanced options<BR>
+ <HR>
+ <A HREF="/static/upload.html" TARGET="bottom">upload test<BR>
+ <A HREF="/termquit" TARGET="_top">Log off<BR>
+ </FONT>
</BODY>
</HTML>
--- /dev/null
+<html>
+<head><title>Uploading test</title></head>
+
+ <FORM ENCTYPE="multipart/form-data" ACTION="/the-url" METHOD="POST">
+ <TABLE BORDER=0 WIDTH="460">
+ <TR>
+ <TD ALIGN=RIGHT>
+ File 1:
+ </TD>
+ <TD>
+ <INPUT TYPE="FILE" NAME="file-to-upload-01" SIZE="35">
+ </TD>
+ </TR>
+ <TR>
+ <TD COLSPAN=2> <BR></TD>
+ </TR>
+ <TR>
+ <TD>
+ <INPUT TYPE="SUBMIT" VALUE="Upload File(s)!">
+ </TD>
+ <TD ALIGN=RIGHT>
+ <INPUT TYPE="RESET" VALUE="Reset Form">
+ </TD>
+ </TR>
+ </TABLE>
+ </FORM>
+
+</body></html>
+
+
int a, b;
int ContentLength = 0;
char *content;
+FILE *fp;
/* We stuff these with the values coming from the client cookies,
* so we can use them to reconnect a timed out session if we have to.
if (ContentLength > 0) {
content = malloc(ContentLength+1);
fread(content, ContentLength, 1, stdin);
+fp = fopen("content", "wb");
+fwrite(content, ContentLength, 1, fp);
+fclose(fp);
content[ContentLength] = 0;
addurls(content);
}