Al's TAFE Certificate IV I.T. (Website Design) Exercises
Semester ONE
Exercise 1
- Now rather than go through every step for inserting every type of form object, I suggest you do a web page yourself that has a form on it with the following types of objects:
- a multi-line text field
- a set of check boxes where a visitor can choose more than one choice
- a set of radio buttons where you only allow one choice
- a list where the punter is given one choice out of many
- a submit button
- a reset button
- Use a table to locate the elements in the form.
- The address you can upload to is tafe.on-the-net.org with a username and a password which I will give you. The web address will be tafe.on-the-net.org followed by /yourname - you can use this html page as a model and this perl script but rename it to yourname1.pl and put it in the cgi-bin which is located at tafe.on-the-net.org/cgi-bin
- Note: Do not save the html page using SAVE AS out of Internet Explorer - for some odd reason it corrupts the source code. Instead, open it in explorer, VIEW SOURCE and save out of Notepad. It's OK to manipulate both the html code and the perl script in Dreamweaver MX 2004 (in fact the code is easier to read and edit) but for the perl script you will have to be in DW first and go file>open rather than double-click on the perl script! Now won't this be fun!! And you're not allowed to ring up Glenmo... or Bob Thurlow. But you can ring me I suppose - we'll have a chat about what items can work as a bribe if you've had trouble making it work...
- PS. Here's a copy of putty.exe but you will have to rename it when it's downloaded. Ask me about FlashFXP ftp program - very handy little proggy.
- This is my sample form with perl (.pl) script attached. Please fill in the details and give it a try!
- The above perl script works within the webworkshop site.
Exercise 2
- This is my sample form with perl (.pl) script loaded and working on the on-the-net.org site.
- Click here, then the contact page to try it!
- Click here, then the contact page to try it!