staticupload.php 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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>
  17. If it has a valid _info.c file and a testsuite, it'll go into the
  18. main repository. Otherwise, it'll go into our "junkcode" area where
  19. people can browse and download it.
  20. </p>
  21. </td>
  22. </tr>
  23. </table>
  24. <table width="70%" align="center">
  25. <tr>
  26. <p>
  27. <form enctype="multipart/form-data" action="<?=$uploadscript?>" method="POST">
  28. <td align="right">
  29. Email address:
  30. </td>
  31. <td>
  32. <input type="text" name="email" size="25"
  33. maxlength="255" value="" />
  34. </td>
  35. </tr>
  36. <tr>
  37. <td align="right">
  38. <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />
  39. Choose a file to upload:
  40. </td>
  41. <td>
  42. <input name="uploadedfile" type="file" /><br />
  43. </td>
  44. </tr>
  45. <td></td>
  46. <td><input type="submit" value="Upload File" /></td>
  47. </tr>
  48. </table>
  49. </form>
  50. <hr>
  51. </html>