summaryrefslogtreecommitdiff
path: root/web/upload.php
blob: fbbaf14e872e31592aceb1089731e2deb2a4509c (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
<?php 
session_start();

include('logo.html');
include('menulist.html');
include('configuration');
?>
<html>
<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, 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>
<th>
<p>
<form enctype="multipart/form-data" action="uploader.php" method="POST">
<table align="center">
<tr align="left">
<td>
	Email address: <input type="text" name="email" size="25"
	     maxlength="255" value="" />
</td>
<td>
	<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>
<hr>
</html>