CPSC415A
Web Programming

Assignment 14

PHP Forms

Create a PHP script that displays a form with a text field for a user to enter an email address and a submit button. When the submit button is pressed the page should display whether the entered email address is valid or note. Assume that an email address is valid if it is of the form:

TEXT@TEXT.TEXT

Where TEXT is any text whatsoever. That is, it contains an ‘@’ followed by a ‘.’ with any text preceeding, between, and following them.

Submission

Submit your code on the course Inquire site.