© Adrian W. West 2016

Adrian W. West, Practical Web Design for Absolute Beginners, 10.1007/978-1-4842-1993-5_23

23. Receive Emails from a Contact Us Page

Adrian W. West

(1)Colyton, UK

By using a PHP form-handler to process the feedback-form contact.php, we can provide a reasonably spam-free way of receiving emails. Also the information entered by the user can be filtered to remove malicious content. This exercise is not intended to create a fully worked website; its purpose is to demonstrate a PHP form-handler. Therefore the content of the pages will be deliberately brief to save time and space, and we will use all the pages from the previous chapter as a basis for this chapter.

When the user enters data into the contact form, the form posts the ...

Get Practical Web Design for Absolute Beginners now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.