home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Internet 1996 World Exposition
/
park.org.s3.amazonaws.com.7z
/
park.org.s3.amazonaws.com
/
Pavilions
/
BrainOpera
/
cgi-bin
/
mailing-confirm-text.cgi
< prev
next >
Wrap
Text File
|
2017-09-21
|
1KB
|
48 lines
#!/usr/local/bin/perl
# Script written by Ben (benjamin@media.mit.edu) to confirm the adding of
# someone to the mailing list
# The Brain Opera, MIT Media Lab
do 'cgi-hacks.pl';
require 'flush.pl';
&find_form_args("name|email|interests");
sub html_header {
print "Content-type: text/html\n\n";
&flush(STDOUT);
}
# Define all the hidden arguments
$hidden_arguments= "<input type=hidden name=name value=\"$name\">
<input type=hidden name=email value=\"$email\">
<input type=hidden name=interests value=\"$interests\">";
# Send the HTML for confirmation
&html_header;
print "<HEAD>\n";
print "<TITLE>Brain Opera Mailing List Confirmation</TITLE></HEAD>\n";
print "<body>
<center><h1>Brain Opera Mailing List Confirmation</h1>
<hr>
<p><h3>Please Check the information below,<br> <strong>especially</strong> the email address you submitted !<h3><p>
<hr>
<center>
Your Name <th>$name</th><p>
Your Email <th>$email</th><p>
Your Interests in the Brain Opera $interests<p>
<p>
<form method=post action=mailing-send-text.cgi>
$hidden_arguments
<input type=submit value=\"CONFIRM Mailing List subscription\">
</form>
<form method=post action=mailing-edit-text.cgi>
$hidden_arguments
<input type=submit value=\"EDIT Mailing List subscription\">
</form><p>
<hr>
<address>webmaster@brainop.media.mit.edu</address>";