staticupload.php 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?php
  2. session_start();
  3. include('logo.html');
  4. include('menulist.html');
  5. include('static-configuration');
  6. ?>
  7. <html>
  8. <h3 align="center"> Upload Code</h3>
  9. <table width="70%" align="center">
  10. <tr>
  11. <td>
  12. <p>
  13. Got C code sitting around which might help someone? Put it to work
  14. by uploading here; .tar.gz, .zip or even single C files.
  15. </p>
  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. </td>
  21. </tr>
  22. </table>
  23. <table width="70%" align="center">
  24. <tr>
  25. <p>
  26. <form enctype="multipart/form-data" action="<?=$uploadscript?>" method="POST">
  27. <td align="right">
  28. Email address:
  29. </td>
  30. <td>
  31. <input type="text" name="email" size="25"
  32. maxlength="255" value="" />
  33. </td>
  34. </tr>
  35. <tr>
  36. <td align="right">
  37. <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />
  38. Choose a file to upload:
  39. </td>
  40. <td>
  41. <input name="uploadedfile" type="file" /><br />
  42. </td>
  43. </tr>
  44. <td></td>
  45. <td><input type="submit" value="Upload File" /></td>
  46. </tr>
  47. </table>
  48. </form>
  49. <hr>
  50. </html>