next up previous
Next: About this document Up: No Title Previous: No Title

Lab Assignment #5

The due date is 11:30 a.m. on Friday, February 19. This is a shorter assignment because of the holiday.

Some of our computer problems have the underlying cause that those of you who already had accounts coming into this course are on older computers such as laguna while those of you without previous accounts are on hermosa, which is newer and faster. Some of the older computers are running the obsolete operating system Sun-OS, while hermosa runs Solaris, the current Sun operating system. It turned out that Perl doesn't work identically on the two operating systems, even though the Perl version numbers are the same.

Let's switch to having everyone run on hermosa . We won't change the location of your files, but they should still be accessible. To telnet to hermosa, just use the address hermosa.pic.ucla.edu . To get into hermosa while already on laguna (say), just type the UNIX command hermosa and wait. When you are done on hermosa, type the command exit and you'll be back on laguna . For use from the lab with the usual XWIN-32 X-windows program, I'll look into whether it is possible to set hermosa to be a default.

If your account is not on hermosa already, please try one of these kinds of access and let me know of any problems that arise. If there are problems, just use your regular host until the staff can straighten things out.

1. Designing a form

Design a web form illustrating the use of the same form tags that are used in the example on Handout M. Make it a questionnaire of some sort, or an order form for a product, or whatever.

However, do not copy the exact layout of the example in Handout M; do something that looks a little different. You will probably still want to use tables and possibly lists, though.

Your form action should reference a CGI program named thanks.cgi .

2. A simple CGI response program

Write a Perl CGI script thanks.cgi that simply generates a virtual page saying something like ``Information received. Thank you for your submission.'' Your script will not attempt to read the data from the form.


next up previous
Next: About this document Up: No Title Previous: No Title

Kirby A. Baker
Sat Feb 13 03:36:38 PST 1999