]> git.treefish.org Git - fex.git/blob - htdocs/sup.html
Original release 20150120
[fex.git] / htdocs / sup.html
1 <html>
2 <head>
3   <meta http-equiv="expires" content="0">
4   <title>F*EX simple upload</title>
5 </head>
6 <body>
7 <h1><a href="/">F*EX</a> simple upload</h1>
8 <p><hr><p>
9 <script type="text/javascript">
10   function showstatus() {
11     var file = document.forms["upload"].elements["file"].value;
12     if (file != "") {
13       window.open(
14         '$PROTO$://$HTTP_HOST$/fup?showstatus=$RANDOM$',
15         'fup_status',
16         'width=700,height=500'
17       );
18       return true;
19     } else {
20       return false;
21     }
22   }
23 </script>
24 <form name="upload"
25       action="/fup"
26       method="post" 
27       accept-charset="UTF-8" 
28       enctype="multipart/form-data" 
29       onsubmit="return showstatus();">
30   <input type="hidden" name="uid"     value="$RANDOM$">
31   <input type="hidden" name="comment" value="!SHORTMAIL!">
32   <table>
33     <tr><td>your e-mail address:
34         <td><input type="text"     name="from" size="80" value="">
35     </tr>
36     <tr><td>your auth-ID:   
37         <td><input type="password" name="id"   size="16" value="">
38     </tr>
39     <tr><td>your file:
40         <td><input type="file"     name="file" size="80" value="">
41     </tr>
42   </table> 
43   <p>
44   <input type="submit" value="submit">
45 </form>
46 <p>
47 <p><hr><p>
48 After "submit" you will see an upload progress bar 
49 (if you have javascript enabled and popups allowed).
50 <p>
51 If you have lost your auth-ID use "?" as auth-ID and select a small dummy file.
52 Your auth-ID will be sent by e-mail to you.
53 <p>
54 You can also use the <a href="/fup">regular upload form</a> 
55 (with more features).
56 <p>
57 <em>NOTE: Only Firefox or Google Chrome can upload files > 2 GB!</em><br>
58 <p><hr><p>
59 <address>Contact: <a href="mailto:$SERVER_ADMIN$">fexmaster</a></address>
60 </body>
61 </html>