Receive Emails from a Contact Us Page
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.