Feb. 9, 2000
The purposes of this lab are to gain experience with form/CGI interaction and CGI.pm. CGI.pm is used to read the form parameters and generate dynamic HTML. Work in groups of two, different from last time.
cgi-binas a sub-directory of
public_html, which is a sub-directory of your home directory. Make sure both directories are public. (First create
public_htmlif it does not exist.)
public_htmldirectory. Change the action attribute of the FORM tag. Make the file public. Make sure it is visible to a browser.
cgi-bindirectory. Make it publicly executable. Make sure it is visible to a browser.
% echo "name=Tom" | ./minMax.cgi
% echo "name=Tom&list=1,5,9" | ./minMax.cgi