The param function in an array context with no arguments returns
undef
The number of form elements
A list of the form element names
2:
The differences between the POST and GET methods are transparent if you use the CGI module.
True
False
3:
The password field input type on an HTML form is secure because it obscures the password before sending it.
False
True
Answers
A1:
c. param , without arguments, returns a list of the element names from the submitted form.
A2:
a. True.
A3:
a. False. With normal HTTP and CGI, all form fields are transmitted in cleartext and are not secure. The password field input type just hides the field as you type it.
Activities
Spice up the help desk form a bit. Add timestamps to each entry and maybe some color on the output.
Challenge: The display() function prints the entries in the help desk form starting with the oldest. Change the display() function to print the newest entries first.