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
/
sign-in.cgi
< prev
next >
Wrap
Text File
|
2017-09-21
|
827b
|
36 lines
#!/usr/local/bin/perl
# Script written by Ben (benjamin@media.mit.edu) to sign in people
# visiting the Brain Opera Web Site
# Brain Opera, MIT Media Lab
$cgibin_dir="/web-cgi-bin";
do "$cgibin_dir/cgi-hacks.pl";
do "$cgibin_dir/mail-utilities";
do "$cgibin_dir/redirect.pl";
require 'flush.pl';
&find_form_args("name|email");
$message="NEW SIGN IN AT THE BRAIN OP :
Name : $name
Email : $email";
$user_info="";
# &mailer("BRAINOP MAILER","benjamin@media.mit.edu","the Webmaster","benjamin@media.mit.edu","NEW SIGN IN","$message","$user_info");
# The Development Server does NOT log visitors.
# Add name to list of visitors
open(list,">> /users/benjamin/lists/visitors");
print list "$email\t\t$name\n";
close(list);
# Redirect the person to the homepage
&redirect("http://brainop.media.mit.edu:8000/home.html");