This is a collection of perl scripts and other files I hope you will find useful for learning more about perl and CGI. For CGI you will usually need to change the file extension to '.cgi' and do a 'chmod 755 filename'. Directory listing follows file comments.
These files are stored in UNIX so if any scripts or text files appear to be munged in DOS/Win use Wordpad or a word processor to edit and save as plain text. And if you upload from DOS/Win to UNIX, upload as ASCII, not binary.
comments.pl e-mails the results of any form POSTed to it and will provide a default comment form if you GET (link to) it.
datepage.pl goes through a list of Web pages to change the "Last updated ..." string to the date the file was last modified.
formtest.pl is useful for testing forms. It displays the raw url-encoded GET or POST string and parses out the variables for display as html or plain text.
guestbk2.pl is an extension of Matt's guestbook script that allows you to preview your entry in html before it is actually posted.
htpasswd.pl is a cgi script to remotely add users, change password or remove user to a password file for user authenticated web directories/files. Optionally can allow new users to add their own name, but otherwise has special administration password.
namegame explains how to pass a desired filename for download to any browser from a CGI script. Contains a link to a demo.
quickspy2.pl is a console Quake 2 server browser. It polls Q2 servers and shows more details (players and rules) for a selected server. From there you can connect to the server. It can now get server lists from the web or a local file. See the text file for more details.
uldemo is an example of Netscape file upload, but it does not provide any security measures. You may want to give it an obscure name and don't link anything to it. (fixed for broken MSIE upload addon)
webqstat.pl displays QuakeWorld or Quake 2 server status in html table format without requiring any plugin. Can be used as SSI or standalone. Tested in Linux and Solaris. Requires qstat (Win32 version available). Also see qc.html for a chart of Quake shirt/pants colors.
WWWgrab.pm Perl5 module for grabbing web pages and response headers from the shell. See WWWgrab.txt for details.
wwwpost may be useful if you maintain an alternate site for submitting form data and want to POST it to a form at the primary Web site. It includes wwwgrab to GET Web pages from the shell.
xnet_users_only will contain XNet specific files or programs compiled on our system. This can only be accessed on the web from an xnet domain or from your home directory 'cd ../efflandt/public_html/pub/xnet_users_only'.
Name Last modified Size Description
Parent Directory 16-Oct-2008 12:36 -
spdcht.exe 29-Jul-1995 14:24 42k tire/gear spreadsheets
quickspy2.pl 17-Jan-1999 16:39 17k Linux Q2 launcher
formmail.Z 30-Jul-1995 03:39 16k original form mail
ccblack.html 01-Sep-1998 07:43 15k
cc.html 01-Sep-1998 07:43 14k browser safe colors
guestbk2.pl 24-Aug-1998 21:55 10k review before post
webqstat.pl 02-Mar-1999 21:32 7k CGI Quake 1&2 status
wwwpost.zip 28-Jul-1997 00:06 7k POST form (pkzip)
quickspy2.txt 17-Jan-1999 16:54 6k
htpasswd.pl 04-Oct-1999 19:52 6k add web passwd cgi
comments.pl 01-Jan-1997 00:56 5k cgi form & email>
namegame.html 14-Sep-1997 13:54 4k CGI download filename
wwwpost.tgz 27-Jul-1997 21:55 4k POST form in shell
WWWgrab.pm 04-Apr-2003 21:04 4k
webqstat.html 27-Oct-1998 03:03 4k CGI Quake 1&2 status
frezfram.pl 24-Aug-1998 21:54 4k manual slide show
ul_email.pl 07-Jul-1999 23:07 3k
login21x.txt 30-Oct-1995 07:39 3k TWinsock 2.1 login
uldemo.zip 20-Dec-1997 08:22 3k Netscape file upload
no_value.pl 06-Dec-1995 07:54 3k check missing fields
login21.txt 30-Oct-1995 07:39 3k TWinsock 2.1 login
uldemo.tgz 21-Dec-1997 08:39 3k Netscape file upload
qc.html 09-Nov-1997 16:28 3k Quake player colors
errbutton.txt 21-Feb-1999 19:57 3k page error reporting
xnet.scp 07-Mar-1997 16:15 3k Win95 login script
you.pl 19-Aug-2000 08:36 3k logging env variables
nonpush.pl 24-Nov-1995 22:55 2k client pull slideshow
WWWgrab.txt 18-Oct-1997 14:38 2k
findpmod.txt 11-Sep-1999 22:41 2k perl modules on system
findpmod.cgi 11-Sep-1999 22:40 2k perl modules on system
pushin.pl 29-Jan-1999 07:02 2k server push example
push.pl 29-Jan-1999 07:02 2k server push example
datepage.pl 24-Aug-1998 21:53 2k Last updated ...
formtest.pl 19-Jul-1997 18:42 2k submit any form
ip2hfile.pl 24-Nov-1995 22:54 2k IP in file to host
manpage.txt 11-Sep-1999 22:41 2k read unix manpages
manpage.cgi 11-Sep-1999 22:40 2k read unix manpages
webshell.txt 11-Sep-1999 22:28 2k sh commands from web
login20.txt 02-Jul-1995 21:24 1k TWinsock 2.0 login
crypt.txt 11-Sep-1999 22:27 1k crypt passwords
crypt.cgi 11-Sep-1999 22:27 1k crypt passwords
dos2unix.pl 03-Dec-1995 14:40 1k fix DOS files
test-env.pl 24-Nov-1995 22:57 1k env variables in CGI
wwwpost.txt 27-Jul-1997 21:46 1k
whois.txt 11-Sep-1999 22:32 1k who owns a domain
whois.cgi 11-Sep-1999 22:32 1k who owns a domain
ip2host.pl 24-Nov-1995 22:53 1k perl IP to host
tst.sh 04-Jan-2003 04:57 1k
xnet_users_only/ 06-Dec-1998 11:51 -
wwwpost/ 17-Mar-1999 01:37 -