When you create a form to capture online data, the information you get usually has …one of two destinations. The data gets sent to some email address …where a human takes care of the request, or it's stored into a database. …In this video, we'll look at what it takes to send an email with the result of …your form. PHP has a built-in mail function which is …perfect for sending the data. Here's a documentation page for mail in …the php website. The mail function takes a series of …strings with where to send the data, who to send it to, a subject, a message, and …additional headers and parameters. PHP sends an email using the server's …mail software. In Linux, this is usually called send mail.…
If the server is able to send the email message, then the function returns true, …otherwise, it returns false. The data, as well as additional headers, …adheres to certain formats as dictated by the mail protocol. …Additional headers can include traditional mail features like the from …address, who to replyto, cc, etcetera. This type of mail command is probably one …
- Understanding forms
- Adding required fields and placeholders
- Accepting multiple entries
- Limiting uploads
- Handling focus changes
- Validating with regular expressions
- Working with older browsers
- Building jQuery validation
- Using server-side validation
- Sanitizing form input
- Uploading files
- Sending form data to a database
Skill Level Intermediate
1. Getting Started
2. Validating with HTML5
4. jQuery Form Validation
Understanding jQuery3m 47s
5. Working with PHP
6. Processing Form Data
Next steps1m 17s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.