Create a web form to help in creating simple random passwords. Your web form should have four text fields named Field1, Field2, Field3, and Field4, as well as “Reset” and “Submit” buttons. You need to create a separate PHP form-processing script that verifies that all four words are entered, that all of them contain only letters, and that all four are between 4 and 7 characters long. Once all of the words have been verified as correct, use the strtoupper() and str_shuffle() functions to produce four suggested jumbled sets of passwords using the words entered in the text fields Note: you need to perform the validation on the server side using PHP scripts. use the preg_match() function to check for letters
Create a web form to help in creating simple random passwords. Your web form should have four text fields named Field1, Field2, Field3, and Field4, as well as “Reset” and “Submit” buttons. You need to create a separate PHP form-processing script that verifies that all four words are entered, that all of them contain only letters, and that all four are between 4 and 7 characters long. Once all of the words have been verified as correct, use the strtoupper() and str_shuffle() functions to produce four suggested jumbled sets of passwords using the words entered in the text fields
Note: you need to perform the validation on the server side using PHP scripts. use the preg_match() function to check for letters
Step by step
Solved in 4 steps with 2 images