#!/usr/bin/perl # +--------------------------------------------+ # | password.cgi -- Password protection script | # | Author : Ryan Facer | # | Created On : Friday August 21, 1998 | # | Last Modified By : Ryan William Facer | # | Last Modified On : Friday August 21, 1998 | # | Update Count : 0 | # | E-Mail : cattails@cattails.ca | # +--------------------------------------------+ # Set Variables $pwd = "ghia"; # The password you want # ******************************* # We include the cgi-lib.cgi file # ******************************* do "cgi-lib.cgi" || die "Content-type: text/plain\n\nError loading cgi-lib\n"; # ************************************************* # Now we call the subroutine in cgi-lib.cgi to read # in the variables from the form and set them up as # key=value pairs in the array @in # ************************************************* &ReadParse; # ***************************************** # Print out the beginning stuff to tell the # server that we're sending it an HTML file # ***************************************** print "Content-type: text/html\n\n"; $password = $in{'password'}; if ($password eq $pwd){ print "\n"; print "
\n"; print "\n";
print "\n";
print "Speakers' Spotlight Questionnaire\n";
print " Thank you for booking a speaker through Speakers' Spotlight.\n";
print "To help ensure the success of your event, please take a few\n";
print "minutes to fill out the following information. Once completes,\n";
print "press SEND at the bottom of the page. Feel free to e-mail\n";
print "(info@speakers.ca)\n";
print "or fax us (416-486-2091) any background information\n";
print "(annual report, newsletter, program / event brochure, press kit,\n";
print "etc.) that you feel may assist in learning more about your\n";
print "organization and your event. Note: If there are any changes in\n";
print "agenda or subject matter, please advise as soon as possible.\n\n";
print " \n";
print "