Khanh Hoang - Kenn
Kenn is a user experience designer and front end developer who enjoys creating beautiful and usable web and mobile experiences.
For a long time I have used a contact form that I have created, which is very simple. Recently I had to create a form that also allows for an attachment. The form I created is based on:
In any case, here is my version of the PHP email attachment form. Simple to implement in your web page. Allows one file to be attached to the email. Performs validation of: name, email, subject and message. Also validates certain file types and maximum size. No need for PHP knowledge. The script is well commented. Form is styled using CSS.
This script is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation. This script is distributed in the hope that it will be useful, but without any warranty. I hope you find it useful.