summaryrefslogtreecommitdiff
path: root/web/staticupload.php
blob: 19dbedec22d1bdf8435b80c77187bdb129a61f63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php 
session_start();

include('logo.html');
include('menulist.html');
include('static-configuration');
?>
<div class='content'>
<h3 align="center"> Upload Code</h3>

<p>
Got C code sitting around which might help someone?  Put it to work
by uploading here; .tar.gz, .zip or even single C files.
</p>

<p>If it has a valid _info file and a testsuite (see <a href="http://ccodearchive.net/Wiki/ModuleGuide">the module creation guide</a>), it'll go into the
main repository.  Otherwise, it'll go into our "junkcode" area where
people can browse and download it.
</p>

<table align="center">
<tr>
<p>
<form enctype="multipart/form-data" action="<?=$uploadscript?>" method="POST">
<td align="right">
	Email address:
</td>
<td>
<input type="text" name="email" size="25"
	     maxlength="255" value="" />
</td>
</tr>
<tr>
<td align="right">
	<input type="hidden" name="MAX_FILE_SIZE" value="10000000" />
	Choose a file to upload:
</td>
<td>
<input name="uploadedfile" type="file" /><br />
</td>
</tr>
<td></td>
<td><input type="submit" value="Upload File" /></td>
</tr>
</table>
</form>
</div>
</html>