Perl CGIs

counter.pl
A text-only counter made in perl. In your page, where you want to place a counter, put in this line in HTML: <!--#exec cgi="/shell-cgi/counter.pl"> The data files that store the hit counts are in the counter_data subdirectory. If this script is moved, you must open the file and change the line: $data_dir = 'e:/path/to/counter_data/';
echo.pl
Return a text file containing all of the CGI environment variables and parameters. Used to debug perl on the server.
hello.pl
Return a file containing "Hello World!". Used to test perl functionality on the server.
month.pl
A script meant to be included into a page to give the month and year like "June 1999". If you want to include it into your page, use SSI and put this in your page: <!--#exec cgi="/shell-cgi/month.pl">
bddb.pl
The birthday database. All of the birthday info is stored in a file called "birthdays.txt" in this directory. Each entry is formatted as follows: "month:day:students name:class". To insert a birthday list into a document, put this line into your HTML page: <!--#exec cgi="/shell-cgi/bddb.pl?class=fr" --> Replace the "class=fr" part with whatever class you wish to see. If this script is moved, you must open the file and change the line: $DB='e:/path/to/birthdays.txt';
announce.pl
The announcement system. There is a bunch of configuration stuff in there, so make sure to look in there and edit it. It's pretty much self-explanitory.
graddb.pl
GradSearch system. There is a bunch of configuration stuff in there, so make sure to look in there and edit it.
imagelist.pl
This makes a real simple list of the images in the directory given by the "path" parameter. You might need to change the "my $webroot = 'e:/webroot';" line
Database.pm & Entry.pm
These are modules that simplify working with records in DBI databases. Some of the perl scripts require them.
classifieds.pl
A script used for a housing bulletin board system to help people buy/sell/find housing opportunities.
errlist.pl
Lists 404 requests and refering URLs.
notfound.pl
Returns a 404 page and notes the refering URL in a text file.
randomimage.pl
Returns an <img> tag to a random image from a folder.
saveresults.pl
A replacement for FrontPage's SaveResults webbot.
wayneclass.pl
A small script using the Database.pm so people can enroll in one of Wayne's classes and it gets recorded into an Access database.