You know that spam harvesters are able to take e-mails from websites if they are just coded in standard HTML. You could encode your email as I’ve described earlier. But a feedback form is the best approach.
The most of feedback forms allow them to enter their name, email and type a message. Sometime you may need to send an attached file (a photo, a screenshot…).
This Feedback-Form script provides you with an option to send an attached file with the form message.
How to install this script
Note. PHP support at your hosting is required.
1) Download the feedback-form.zip file.
2) Unzip it with subdirectories at your local PC.
3) Open the
config.php file ( 1 ) with an ASCII-text editor (i.e. Notepad)
4) Adjust this variables with appropriate values:
$site_name ( 6 ) - the name of your site. It would be used inside the form title.
$support_email ( 7 ) - your email address to receive the form messages to.
You also can edit the
$support_subject ( 8 ) and
$support_message ( 9 ) variables to change the message Subject and Body.
5) Save the changed
config.php file and upload all files with subdirectories onto your site.
6) Change the permissions of the
tmp folder ( 2 ) to 777. (
CHMOD 0777 tmp)
Place a link to
feedback.php ( 3 ) on your site’s pages.
If you’d like you can change the pages templates ( 5 ) with any HTML-editor. The
template.form.html file is the template of the form-page. The
template.thankyou.html file is the template of the thank-you page which appears after the form submitted.
Anti Form-Spam feature
(was added Jan 27, 2007)
Make sure you uploaded the
md5.js ( 4 ) file beside your form-page template and set the
$anti_bot variable ( 10 ) value to 1.