]> git.ozlabs.org Git - ccan/blob - web/upload.php
tal: support destructors with an extra argument.
[ccan] / web / upload.php
1 <?php 
2 session_start();
3
4 include('logo.html');
5 include('menulist.html');
6 include('configuration');
7 ?>
8 <html>
9 <h3 align="center"> Upload Code</h3>
10
11 <p>Got C code sitting around which might help someone?  Put it to work
12 by uploading here; .tar.gz, .zip or even single C files.
13 </p>
14
15 <p>If it has a valid _info file and a testsuite, it'll go into the
16 main repository.  Otherwise, it'll go into our "junkcode" area where
17 people can browse and download it.
18 </p>
19
20 <table align="center">
21 <tr>
22 <th>
23 <p>
24 <form enctype="multipart/form-data" action="uploader.php" method="POST">
25 <table align="center">
26 <tr align="left">
27 <td>
28         Email address: <input type="text" name="email" size="25"
29              maxlength="255" value="" />
30 </td>
31 <td>
32         <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />
33         Choose a file to upload:
34 </td>
35 <td>
36 <input name="uploadedfile" type="file" /><br />
37 </td>
38 </tr>
39 <td></td>
40 <td><input type="submit" value="Upload File" /></td>
41 </tr>
42 </table>
43 </form>
44 <hr>
45 </html>