Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

119 lines
3.5 KiB

  1. <HTML> <HEAD>
  2. <TITLE>More Examples of Scripts Created with CGI.pm</TITLE>
  3. </HEAD>
  4. <BODY>
  5. <H1>More Examples of Scripts Created with CGI.pm</H1>
  6. <H2> Basic Non Sequitur Questionnaire</H2>
  7. <UL>
  8. <LI> <A HREF="tryit.cgi">Try the script</A>
  9. <LI> <A HREF="tryit.txt">Look at its source code</A>
  10. </UL>
  11. <H2> Advanced Non Sequitur Questionnaire</H2>
  12. <UL>
  13. <LI> <A HREF="monty.cgi">Try the script</A>
  14. <LI> <A HREF="monty.txt">Look at its source code</A>
  15. </UL>
  16. <H2> Save and restore the state of a form to a file</H2>
  17. <UL>
  18. <LI> <A HREF="save_state.cgi">Try the script</A>
  19. <LI> <A HREF="save_state.txt">Look at its source code</A>
  20. </UL>
  21. <H2> Server Push</H2>
  22. <ul>
  23. <li><a href="nph-multipart.cgi">Try the script</a>
  24. <li><a href="nph-multipart.txt">Look at its source code</a>
  25. </ul>
  26. <H2> Read the coordinates from a clickable image map</H2>
  27. <UL>
  28. <LI> <A HREF="clickable_image.cgi">Try the script</A>
  29. <LI> <A HREF="clickable_image.txt">Look at its source code</A>
  30. </UL>
  31. <H2> Multiple independent forms on the same page</H2>
  32. <UL>
  33. <LI> <A HREF="multiple_forms.cgi">Try the script</A>
  34. <LI> <A HREF="multiple_forms.txt">Look at its source code</A>
  35. </UL>
  36. <H2> How to maintain state on a page with internal links</H2>
  37. <UL>
  38. <LI> <A HREF="internal_links.cgi">Try the script</A>
  39. <LI> <A HREF="internal_links.txt">Look at its source code</A>
  40. </UL>
  41. <h2>Echo fatal script errors to the browser</h2>
  42. <em>This script deliberately generates a compile-time error.</em>
  43. <ul>
  44. <li><a href="crash.cgi">Try the script</a>
  45. <li><a href="crash.txt">Look at its source code</a>
  46. </ul>
  47. <EM>The Following Scripts Work with Netscape Navigator 2.0 and higher,
  48. or Internet Explorer 3.0 and higher</EM>
  49. <H2> Prompt for a file to upload and process it</H2>
  50. <UL>
  51. <LI> <A HREF="file_upload.cgi">Try the script</A>
  52. <LI> <A HREF="file_upload.txt">Look at its source code</A>
  53. </UL>
  54. <h2> A Continuously-Updated Page using Server Push</h2>
  55. <ul>
  56. <li><a href="nph-clock.cgi">Try the script</a>
  57. <li><a href="nph-clock.txt">Look at its source code</a>
  58. </ul>
  59. <h2>Compute the "diff" between two uploaded files</h2>
  60. <ul>
  61. <li><a href="diff_upload.cgi">Try the script</a>
  62. <li><a href="diff_upload.txt">Look at its source code</a>
  63. </ul>
  64. <h2>Maintain state over a long period with a cookie</h2>
  65. <ul>
  66. <li><a href="cookie.cgi">Try the script</a>
  67. <li><a href="cookie.txt">Look at its source code</a>
  68. </ul>
  69. <h2>Permanently customize the appearance of a page with a cookie</h2>
  70. <ul>
  71. <li><a href="customize.cgi">Try the script</a>
  72. <li><a href="customize.txt">Look at its source code</a>
  73. </ul>
  74. <h2> Popup the response in a new window</h2>
  75. <ul>
  76. <li><a href="popup.cgi">Try the script</a>
  77. <li><a href="popup.txt">Look at its source code</a>
  78. </ul>
  79. <h2> Side-by-side form and response using frames</h2>
  80. <ul>
  81. <li><a href="frameset.cgi">Try the script</a>
  82. <li><a href="frameset.txt">Look at its source code</a>
  83. </ul>
  84. <h2>Verify the Contents of a fill-out form with JavaScript</h2>
  85. <ul>
  86. <li><a href="javascript.cgi">Try the script</a>
  87. <li><a href="javascript.txt">Look at its source code</a>
  88. </ul>
  89. <HR>
  90. <MENU>
  91. <LI> <A HREF="../cgi_docs.html">CGI.pm documentation</A>
  92. <LI> <A HREF="../CGI.pm.tar.gz">Download the CGI.pm distribution</A>
  93. </MENU>
  94. <HR>
  95. <ADDRESS>Lincoln D. Stein, [email protected]<br>
  96. <a href="/">Whitehead Institute/MIT Center for Genome Research</a></ADDRESS>
  97. <!-- hhmts start -->
  98. Last modified: Wed Jun 23 15:31:47 EDT 1999
  99. <!-- hhmts end -->
  100. </BODY> </HTML>