Presenting Mathematical Concepts on the World Wide Web

Forms & Scripts

Some of you may already be familiar with fill-out forms and other sorts of scripts on the Web. Some of you may never have encountered any. Some of you may have used them, and not been aware of what was kind of processing was going on.

So, before we start learning about these things, here are a few external examples for you to consider:

There are two things you need to be aware of with respect to forms & scripts:

Today's lesson, then, is split up (for historical reasons, irrelevant to this course, but I've not had time to redesign them) into three parts.

If you do not have access to your own Web directory, then you may just skip this topic. (Except, please do at least check out this one page and its links. This should give you information regarding your own IP name & number!) Then, just keep working on the things you can do for your course project.

If you do have direct access and you can execute files from it [see note], then proceed:

  1. Introducing CGI Scripts
  2. Using Perl for CGI Scripts
  3. Strategies for Using Scripts

Your Assignment: Guess what it is!


[Note:] You may also have to try a few things and then, if you encounter problems, ask your webmaster / system administrator if your web server is set up to handle forms and scripts. If you know that anyone else has implemented these things on their pages at your site, then the odds are better that you will be able to do so too. If you do most of your local development on a Mac or PC, say, and then FTP files up to a Unix directory, then you also need to be able to set permission so files can be executed there (via chmod a+x *.cgi for example). If you use a Mac or Intel machine as your server, then you have to be able to permit script execution from your directory there.


Next Page: Introducing CGI Scripts
Next Topic: Java
Last Topic: Animation


Presenting Mathematical Concepts on the World Wide Web. Copyright © 1997 by Carol Scheftic. All rights reserved. (This section was originally copyrighted in 1996 by The Geometry Center and is re-used here with permission.) Please send comments on this page, or requests for permission to re-use material from this page, to: scheftic@geom.umn.edu
Page established 1-Jun-97; last updated Tuesday, 29-Jul-1997 01:39:19 CDT.