Goals: use basic regular expressions to check form data with PHP; send an eMail message that includes this information; allow the user to upload a file to a server via a simple web form.
Required: access to a server with PHP installed. (An active mail server will be required to complete the eMail lessons).
Total time (core material): 8 hours
Validation & eMail
- Introduction to Server-Side Validation
- Pattern Matching
- Checking Fields
- Showing Errors
- Sending A Simple eMail
- eMail Headers
When You’re Done
While not as common as it’s use in handling files, PHP also contributes to web image management, manipulation and display, often in surprising ways. We’ll look at those abilities in the next reading list.
Photograph by Éole Wind, licensed under Creative Commons.
Enjoy this piece? I invite you to follow me at twitter.com/dudleystorey to learn more.