Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Programming Language Expert

This assignment introduces you to the Perl language and CGI programming. You will use your scripting and html skills to build a Perl program that will gather user input to then generate a personal webpage. This program will demonstrate a typical dynamic Web site which is able to respond to user requests and record user actions.

Program Operation

1. Modify index.html to your home page. Create three links assignment 1 and assignment 2 on the home page. Let assignment 1 link to your /public_html/cgi-bin/assn1/auth.pl

2. When the user clicks on assignment 1 link, auth.pl will show an html form with two text fields:

Username:

Password:

3. Have the form submit auth.pl itself (action attribute calls auth.pl). The program will validate the two fields. If the username is "username" and the password is "password", then the login is successful. For the successful login, the program will display a welcome page, otherwise the program will display the same auth.pl login form with an error message "Login error. Please log in again." at the top.

4. The welcome page will display as below.

Please complete the form below to view your user profile:

Username:

First name:

Last name:

Birth date:

Country:

Street Add: City:

State / Prov:

ZIP / Postal

Home:

Mobile:

Email: (MM/DD/YYYY)

About me:

5. When the user clicks on Submit, a program viewprofile.cgi gets called. The program gathers the information above and displays a profile based on that input.

General Requirements

- The password field type must be a password

- The dropdown select box must be with populated with the country name.

- This assignment must work on zenit.senecac.on.ca server.

- All Perl code must be kept in one directory /public_htmlfcgi-binfassnlf

- All uploaded images must be kept in one directory /public_htmlfcgi-binfassnl /images

- The Perl code must be concise (avoiding unnecessary duplication of code). For example, the html code for the form should not appear twice in your program.

- Presentation is important. The general quality of your work is important. Correct spelling, neatness and appearance of your code and its output will be taken into consideration during marking.

Submission

The submission of this assignment is a hardcopy. Print your complete code and the screenshots of your testing. Staple the pages with a cover page listing your student name, student number, completion date and the URL to view your assignment online.

Marking System

- Meet all points in General Requirements and Program Operation

- Testing all use cases of General Requirements and Program Operation onto screenshots

Programming Language, Programming

  • Category:- Programming Language
  • Reference No.:- M91959824

Have any Question? 


Related Questions in Programming Language

Extend the adworks applicationi add dialogs to allow the

Extend the AdWorks application I. Add Dialogs to allow the user to Add, Edit, Read and Delete a Customer and refresh the view accordingly. 1. The user should be able to select a specific customer from the DataGrid and cl ...

Question - create a microsoft word macro using vba visual

Question - Create a Microsoft Word macro using VBA (Visual Basic for Applications). Name the macro "highlight." The macro should highlight every third line of text in a document. (Imagine creating highlighting that will ...

Task silly name testeroverviewcontrol flow allows us to

Task: Silly Name Tester Overview Control flow allows us to alter the order in which our programs execute. Building on our knowledge of variables, we can now use control flow to create programs that perform more than just ...

Question 1 what is a computer program what is structured

Question: 1. What is a Computer program? What is structured programming? 2. What is modular programming? Why we use it? 3. Please evaluate Sin (x) by infinite series. Then write an algorithm to implement it with up to th ...

Assignment - horse race meetingthe assignment will assess

Assignment - Horse Race Meeting The Assignment will assess competencies for ICTPRG524 Develop high level object-oriented class specifications. Summary The assignment is to design the classes that are necessary for the ad ...

1 write a function named check that has three parameters

1. Write a function named check () that has three parameters. The first parameter should accept an integer number, andthe second and third parameters should accept a double-precision number. The function body should just ...

Assignment - proposal literature review research method1

Assignment - Proposal, Literature Review, Research Method 1. Abstract - Summary of the knowledge gap: problems of the existing research - Aim of the research, summary of what this project is to achieve - Summary of the a ...

Assignment - horse race meetingthe assignment will assess

Assignment - Horse Race Meeting The Assignment will assess competencies for ICTPRG524 Develop high level object-oriented class specifications. Summary The assignment is to design the classes that are necessary for the ad ...

Background informationthis assignment tests your

Background Information This assignment tests your understanding of and ability to apply the programming concepts we have covered throughout the unit. The concepts covered in the second half of the unit build upon the fun ...

Assignmentquestion onegiving the following code snippet

Assignment Question One Giving the following code snippet. What kind of errors you will get and how can you correct it. A. public class HelloJava { public static void main(String args[]) { int x=10; int y=2; System.out.p ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As