#!/usr/bin/perl # Jestapher's Feedback Code v .1 beta - Mar 24, 2001 # Copyright 2001 Ben Livingston # Released under the GNU General Public License Version 2 # Viewable online at http://www.gnu.org/copyleft/gpl.html $user = "jest"; require "/usr/local/apache/cgi-bin/cgi-lib.pl"; @fields = ('name', 'email', 'url', 'feedback', 'keyword', 'value', 'referer'); %pages = ('journal', 'journal/'); &ReadParse(*input); print "Content-type: text/html\n\n"; open(HEADER,"./header.shtml"); print
; close(HEADER); if ($input{'action'} =~ /submit/i) { &Process_Form; if (($name) && ($email) && ($feedback)) { &Mail_Form; if ($pages{$keyword}) { &Save_Form; } } else { print "

Everything but URL is required. Head on back the way you came.<\/P>"; } print "

Thanks for the feedback. You can go now.<\/P>"; } else { &Print_Form; } open(FOOTER,"./footer.shtml"); print