From e03e7fdc332c756d18b6919db6cb81a81c099a87 Mon Sep 17 00:00:00 2001 From: Dan Mueth Date: Thu, 12 Jul 2001 15:42:56 +0000 Subject: [PATCH] Putting the script into a cgi-bin directory 2001-07-12 Dan Mueth Putting the script into a cgi-bin directory * cgi-bin/membership-form-handler.pl: --- cgi-bin/membership-form-handler.pl | 61 ++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100755 cgi-bin/membership-form-handler.pl diff --git a/cgi-bin/membership-form-handler.pl b/cgi-bin/membership-form-handler.pl new file mode 100755 index 0000000..9febd1a --- /dev/null +++ b/cgi-bin/membership-form-handler.pl @@ -0,0 +1,61 @@ +#!/usr/bin/perl +# +# A *really* simple CGI handler for the GNOME Foundation membership +# form. +# +# Author: Russell Steinthal +# +# + +my $MAIL_COMMAND = "/usr/lib/sendmail"; + +use CGI qw /-debug/; + +my $form = new CGI; +$form->import_names ("FORM"); + +print $form->header; + +my $date = localtime; + +open MAIL, "|$MAIL_COMMAND"; +print MAIL <Thank you\n"; +print "

Thank you for your submission. It has been forwarded to the membership committee, which will inform you when it has been processed.

\n"; +print "

If you have any questions, please e-mail membership\@gnome.org.

\n"; + + +