staticupload.php 1.1 KB

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