#!/usr/local/bin/perl # ListWebber II 1.0.1b # by Eric Lease Morgan, Infomotions # http://infomotions.com/musings/list-webber/ # Release notes: # 04/23/05 # moved to infomotions.com # 10/24/96 # added a root path so file in particular directories can only be read # 9/14/94 # made sure user entered their name, address, list, and query # 8/3/94 # initial release # declare your host name $hostName = "www.lib.ncsu.edu"; # declare the directory where the lists of lists are saved $listDirectory = "/usr/local/bin/httpd/cgi-bin/lists/"; # what is the URL of your ListWebber perl script? $lw2Location = "http://www.lib.ncsu.edu/cgi-bin/lw2"; # what is location of your error log? $errorLog = "/usr/local/logs/listwebber/lw2-error.log"; # what is the location of your normal, everyday listwebber log? $logFile = "/usr/local/logs/listwebber/lw2.log"; # where is the cgi-lib.pl library so we can read POSTed data require '/usr/local/bin/httpd/cgi-bin/cgi-lib.pl'; # where is sock.pl, a socket binding library necessary for my SMTP communications require '/usr/local/bin/httpd/cgi-bin/sock.pl'; sub printFooter { # you will want to change the 2nd and 3rd print lines of the following footer print "
"; print "Go to library's home page. Go to NCSU's home page.
"; print "