Doug deloy: some Sample php code and apps

[HOME] [Form Example] [Session Example] [Email Validation ] [Regular Expressions ][deloycom home

Server side email validation:
1. An empty array is created
2. If the form has already been submitted, then the validate_input() function is called
3. If the $errors array has elements in it, then there are problems with way form submitted
4. If errors, the show_form() function is called to redisplay form with error message
5. No errors - then form is processed and email address ready to be sent to database, or file
Email address: