Simple and Secure Form to Email PHP Script DynaWeb SFEPS 1.03b Thanks to DynaWeb Designs - Contact them for support or questions This is a form to email script that is designed to be very secure yet not too complicated. It prevents abuse on different levels. There are four files to upload to your server. They are: form.html validate.js _sfeps.php ### Requirements: -Server that supports PHP 4.1+ (Windows or Linux is OK) -Web browser that supports javascript (for client side validation) ### Installation Instructions: 1) Upload all the files to a directory on your server. Set your email address into the file _sfeps.php 2) Optionally configure files thankyou.html and form.html to your liking. 3) Load the file form.html in your web browser and enjoy! ### Description of files: #form.html Here is a sample form. You can insert this code into an existing page or make it it's own page. If you are using an existing page, it is highly recommended to use the robots noindex tag in the header as we did here for security : validate.js Here is the file that holds the javascript _sfeps.php Now you need a sfeps.php script: Create a file named sfeps.php and upload it to the same directory as the form. thankyou.html This page is an example "Thank You" page. You can use this one or create your own. README.htm That's this file :) ============================================= ### CHANGE LOG 1.03b - On some servers, $subject variable was not getting passed properly. Fixed. 1.02b + added injection protection to $subject field in _sfeps.php - made configurable fields easier to edit in _sfeps.php