summaryrefslogtreecommitdiffstats
path: root/contrib/perl5/eg/cgi/index.html
blob: 133ecc4a161e3acfe06bd62663dd891df392f5ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<HTML> <HEAD>
<TITLE>More Examples of Scripts Created with CGI.pm</TITLE>
</HEAD>

<BODY>
<H1>More Examples of Scripts Created with CGI.pm</H1>

<H2> Basic Non Sequitur Questionnaire</H2>
<UL>
  <LI> <A HREF="tryit.cgi">Try the script</A>
  <LI> <A HREF="tryit.txt">Look at its source code</A>
</UL>

<H2> Advanced Non Sequitur Questionnaire</H2>
<UL>
  <LI> <A HREF="monty.cgi">Try the script</A>
  <LI> <A HREF="monty.txt">Look at its source code</A>
</UL>

<H2> Save and restore the state of a form to a file</H2>
<UL>
  <LI> <A HREF="save_state.cgi">Try the script</A>
  <LI> <A HREF="save_state.txt">Look at its source code</A>
</UL>

<H2> Server Push</H2>
<ul>
  <li><a href="nph-multipart.cgi">Try the script</a>
  <li><a href="nph-multipart.txt">Look at its source code</a>
</ul>

<H2> Read the coordinates from a clickable image map</H2>
<UL>
  <LI> <A HREF="clickable_image.cgi">Try the script</A>
  <LI> <A HREF="clickable_image.txt">Look at its source code</A>
</UL>

<H2> Multiple independent forms on the same page</H2>
<UL>
  <LI> <A HREF="multiple_forms.cgi">Try the script</A>
  <LI> <A HREF="multiple_forms.txt">Look at its source code</A>
</UL>

<H2> How to maintain state on a page with internal links</H2>
<UL>
  <LI> <A HREF="internal_links.cgi">Try the script</A>
  <LI> <A HREF="internal_links.txt">Look at its source code</A>
</UL>

<h2>Echo fatal script errors to the browser</h2>
<em>This script deliberately generates a compile-time error.</em>
<ul>
  <li><a href="crash.cgi">Try the script</a>
  <li><a href="crash.txt">Look at its source code</a>
</ul>

<EM>The Following Scripts Work with Netscape Navigator 2.0 and higher,
or Internet Explorer 3.0 and higher</EM>

<H2> Prompt for a file to upload and process it</H2>
<UL>
  <LI> <A HREF="file_upload.cgi">Try the script</A>
  <LI> <A HREF="file_upload.txt">Look at its source code</A>
</UL>

<h2> A Continuously-Updated Page using Server Push</h2>
<ul>
  <li><a href="nph-clock.cgi">Try the script</a>
  <li><a href="nph-clock.txt">Look at its source code</a>
</ul>

<h2>Compute the "diff" between two uploaded files</h2>
<ul>
  <li><a href="diff_upload.cgi">Try the script</a>
  <li><a href="diff_upload.txt">Look at its source code</a>
</ul>

<h2>Maintain state over a long period with a cookie</h2>
<ul>
  <li><a href="cookie.cgi">Try the script</a>
  <li><a href="cookie.txt">Look at its source code</a>
</ul>

<h2>Permanently customize the appearance of a page with a cookie</h2>
<ul>
  <li><a href="customize.cgi">Try the script</a>
  <li><a href="customize.txt">Look at its source code</a>
</ul>

<h2> Popup the response in a new window</h2>
<ul>
  <li><a href="popup.cgi">Try the script</a>
  <li><a href="popup.txt">Look at its source code</a>
</ul>

<h2> Side-by-side form and response using frames</h2>
<ul>
  <li><a href="frameset.cgi">Try the script</a>
  <li><a href="frameset.txt">Look at its source code</a>
</ul>

<h2>Verify the Contents of a fill-out form with JavaScript</h2>
<ul>
  <li><a href="javascript.cgi">Try the script</a>
  <li><a href="javascript.txt">Look at its source code</a>
</ul>

<HR>
<MENU>
  <LI> <A HREF="../cgi_docs.html">CGI.pm documentation</A>
  <LI> <A HREF="../CGI.pm.tar.gz">Download the CGI.pm distribution</A>
</MENU>
<HR>
<ADDRESS>Lincoln D. Stein, lstein@genome.wi.mit.edu<br>
<a href="/">Whitehead Institute/MIT Center for Genome Research</a></ADDRESS>
<!-- hhmts start -->
Last modified: Wed Jun 23 15:31:47 EDT 1999
<!-- hhmts end -->
</BODY> </HTML>
OpenPOWER on IntegriCloud