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