David Ragozin: CGI Programs

CGI Programs For Public Use




Available Programs:

Here are several CGI programs that may be useful to University of Washington mathematics department faculty and others. The programs were originally written or modified for David Ragozin's Math 308 class website.

Neither the math nor mscc servers currently allow cgi programs to be placed in one's personal .www or public_html directory. However, the public university server weber.u.washington.edu allows any U of W student or faculty member with an account on saul to create his or her own public_html directory from which cgi programs can be run. For information on how to create a weber account, visit David Ragozin's Web Page Resources site.

Remote use of cgi programs on weber:
Some of the programs available below can still be used by html documents on math and mscc machines just by referencing the program in an html IMG element. These programs are marked with the *REMOTE ACCESS* label. If this is the case, a description of how to reference the program at a remote location (such as your weber account) is included in the program documentation. Programs not marked by *REMOTE ACCESS* can only be used with documents on weber or another server allowing CGI programs in personal directories.

Installation:
To install any program, download the corresponding tar file and untar it using tar -xvf file.tar. This will create a directory containing the cgi program with all of the necessary utility programs, files, and directories. Full documentation on how to set up, reference, and use a program is included inside each cgi program file itself. Read this documentation immediately after untarring file.tar.



[Seperator Line]

Class Registration Form (*REMOTE ACCESS*)

This program takes the input from a class registration form (or any form, if you wish) and mails the form information to a designated recipient using sendmail. It then displays a class welcome message which you can specify.

When you untar the file REGISTER.tar, the directory REGISTER (containing all necessary files) will be created. All necessary instructions are contained inside the program file register.cgi.

Download REGISTER.tar

You may also want to download an html document containing a sample class registration form:
Download form.html.tar

Here is a sample class welcome message file:
Download welcome.html.tar

[Seperator Line]

WebMonitor Mail Form (*REMOTE ACCESS*)

This publicly distributed email handler by Carlos A. Pero (cpero@ncsa.uiuc.edu) has several safety and convenience advantages over the standard mailto: program. These are discussed in the program documentation contained within the program file.

When you untar the file MAIL_FORM.tar, the directory MAIL_FORM (containing all necessary files) will be created. All necessary instructions are contained inside the program file mail.cgi.

Download MAIL_FORM.tar

[Seperator Line]

HTML Counter and Stats Generator (*REMOTE ACCESS*)

This program counts the number of times an html document is requested from the server by a web client, and collects stats on the client for each request.

When you untar the file COUNTER.tar, the directory COUNTER (containing all necessary files) will be created. All necessary instructions are contained inside the program file counter.cgi.

Download COUNTER.tar

[Seperator Line]

Last Modification Date Program

This program displays the time and date that the referring html file was last modified. It DOES NOT REQUIRE SERVER-SIDE INCLUDES.

When you untar the file LASTMOD.tar, the directory LASTMOD (containing all necessary files) will be created. All necessary instructions are contained inside the program file lastmod.cgi.

Download LASTMOD.tar

[Seperator Line]

Animation!! (*REMOTE ACCESS*)

This program by mengwong@pobox.com is capable of implementing the server push or client pull methods of animation with Netscape. The documentation inside the program file is very clear and makes it easy to create your own animated images. All you have to do is generate the frames as gif files for your animated picture. The program has been modified so that when a non-Netscape browser tries to display the animation, a static image of your choosing is displayed rather than a broken image.

Here are a few examples created for David Ragozin:
UW Waver
Bouncing Exam
Spinning Exam

When you untar the file ANIMATE.tar, the directory ANIMATE (containing all necessary files) will be created. All necessary instructions are contained inside the program file animate.cgi.

Download ANIMATE.tar

[Seperator Line]



[Last Modification Date Image]



Back to David Ragozin's Home Page
[Left Arrow]