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.cgi
< prev
next >
Wrap
Text File
|
2017-09-21
|
2KB
|
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 bgcolor=#000000 text=#eeeeee link=#bbbbbb vlink=#bbbbbb>
<center><h1>Brain Opera Mailing List Confirmation</h1>
<hr width=40% size=4>
<p><font size=+2>Please Check the information below,<br> <strong>especially</strong> the email address you submitted !</font>.<p>
<hr width=40% size=4>
<table border=3 cellspacing=5 cellpadding=5>
<tr><td align=center>Your Name</td><th>$name</th></tr>
<tr><td align=center>Your Email</td><th>$email</th></tr>
<tr><td align=center>Your Interests in the Brain Op</td><td>$interests</td></tr>
</table><p>
<form method=post action=/cgi-bin/mailing-send.cgi>
$hidden_arguments
<input type=submit value=\"CONFIRM Mailing List subscription\">
</form>
<form method=post action=/cgi-bin/mailing-edit.cgi>
$hidden_arguments
<input type=submit value=\"EDIT Mailing List subscription\">
</form><p>
<hr>
<address>webmaster@brainop.media.mit.edu</address>";