Using PHP To Create E-Mail Feedback Forms

If you are writing your site in php and want to use a secure form for visitor feedback, it is recommended that you instead use an HTML email form in an .html file. PHP forms run the risk of code being injected into the form and executed by outside sources. There are PHP mail scripts out there but many still can be insecure and be used to send spam.

You can try our own HTML based web form code. However, this code does not allow you to add additional security such as reCaptcha.