COP3832, Assignment 4

Due Wednesday 3/15 at the start of class

You are to write two scripts for me. Add links to your server page to each script. Hand in a printout of each script.

You may use the parse-lib.pl file which contains a function named get_query. To access this, include the following statements in your scripts

require '/home/scsfac/downeyt/scripts/parse-lib.pl';
%query = get_query();

After these commands. %query will be the associative array of name/value pairs of any parameters sent to your script.

You will need to use the split function to separate the choices in a checkbox or a multiple selection list.

Handing in the assignment: upload the two separate scripts to the web and hand in a printout of each.

Script 1

Write a script that will display a form containing the following. Choose a theme of your choice. All the input elements should relate to your theme.

When the form is submitted:

Script 2

random.pl