PHP Programming Question

timer Asked: Jul 5th, 2013

Question Description

I’m working on a Programming question and need guidance to help me study.


Create a web form that asks the user to enter a password.  The form must contain a textbox for the user to enter the password and submit and reset buttons.  Save this web form in a html file called: Password.html.  Create a PHP script to validate the password entered on the form to check if it complies with the following criteria:

1. The password must be at least eight characters long.
2. It must begin with a letter followed by any letter, digit, or underscore symbol. 
3. The password must end with a digit.
4. The password is case-insensitive.

Save the form-handler script as Validate_pwd.php.  The script MUST use a regular expression to validate the password.  If the password is valid, the program should display a message saying: Valid Password.  Otherwise, it should display a message saying: Invalid Password.

Student has agreed that all tutoring, explanations, and answers provided by the tutor will be used to help in the learning process and in accordance with Studypool's honor code & terms of service.

This question has not been answered.

Create a free account to get help with this and any other question!

Similar Questions
Related Tags

Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors