Question: 1. (2 points) Create an HTML form that accepts the user's first name, last name, an email id and a web address of CSN. 2.

1. (2 points) Create an HTML form that accepts the user's first name, last name, an email id and a web address of CSN. 2. (4 points) Create a PHP response page that checks if the email entered by the user is a .edu account. 3. (8 points)If the email entered by the user does not have a .edu account o use a PHP function to trim to remove extra spaces from the first and last names. o use a PHP function to change the first and last name to all lower case. o use PHP function to make sure that the length of the first name and last name is more than 1 if not then display the message asking the user to enter their first and last name again. o If the previous three conditions are satisfied then combine the first and the last name with a . in the middle and then add myschool.edu and then display the new email id to the user like this: example: Your new email id is jane.doe@myschool.edu 4. (2 points)In the php response page o edit the following code to specify that $total is a floating point number with two decimal places after the decimal point. printf ("Total amount of order is __", $total); 5. (4 points) In the php response page use preg_match function to check if the web address of CSN contains "https://" then display the message "Thank you for sharing the web address", if not then display the message, "Incorrect Web address
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
