CS 655 - Info. Delivery on the Internet - Program 1 - Name:_____________ Assigned: Wednesday, October 1, 2003 Due: Friday, October 24, 2003 (80 points) o Put your name and add necessary comments into these code when necessary. These are a part of grading in the assignment. o Write one page document describing the programs you created. o Please refere to Thanks.html in Exam 1 and 10.5 Survey Example. o Use the handin system to submit all code electronically. The submission ID is 1. This assignment involves the (partial) development of a web-based application for the management of an online store. The store type is based on your choice such as a bookstore, a music store, and etc. 1. Write the HTML code to create a data entry form for your online store. Your data entry form should contain at least 5 data fields such as the product number, prodcut name, manufacturer, price, quantity, and etc. 2. Write two Perl CGI scripts: (1) The CGI script validates the data entered and show an appropriate error message when the data entries are not vaild or complete. The valid data transaction should be written to a text file called store.dat, whose record structure is as follows: Product Number:Product Name:Manufacturer:Price:Quantity:... For example of a furniture table, a data entry is composed of 7 fields: product number, title, designer, manufacturer, dimensions, materials, color, and price. This could be one of the data entry: 2346891:Captain Tray Table:Marc Berthier:Lexon:56 x 72 x 2 cm: Aluminum:Lime:$70.00 Hint: Your store.dat file should be world-wide writable (i.e. chmod 666 store.dat) because your CGI script is run as a CS655 process. (2) The CGI script produce a table of a list of products. Your store should contain at least 10 products. 3. Control the access to the page created in 2-(2) by the login name and password. (Optional for undergraduates and count 5 bonus points for undergraduates)