upload.php 990 B

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