PHP Forms & Validation
Hi
I am really neding to overhaul all my websites and redo their contact forms as many of them are now getting spammed. I have a php form which calls itself and it has javascript validation client side. Still spammers are celver enough to enter text in the correct format to get past the validation. I have tried to do some research but this really seems a very grey area and all the so called experts tend to have different approaches.
Can anyone outline the basics here or recommend an excellent piece of software they use to create forms and validate them in the best way possible which works for them in avoiding spam. Thanks
Jacine posted this at 03:03 — 9th April 2007.
They have: 27 posts
Joined: Mar 2007
Try phpFormGenerator. It's not the easiest tool to setup, but you use a wizard to create the form, and it creates the PHP for you (with PHP validation, not JavaScript). Once you have the code, you can review how it works, and tweak it to your liking.
http://sourceforge.net/projects/phpformgen/
demonhale posted this at 03:07 — 9th April 2007.
He has: 3,278 posts
Joined: May 2005
You can also make your own contact form with the basic php mail calls and add a php basic confirmation, or captcha confirmations...
Greg K posted this at 11:16 — 9th April 2007.
He has: 2,145 posts
Joined: Nov 2003
Do you have a sample of your page as it is now?
Some tips:
1. Javascript most likely will not stop anything automated that is using your system.
2. If you are using a "Canned" script for the contact form, take the time to at least change the NAMES of the form fields
-Greg
RealMetrics posted this at 07:25 — 18th April 2007.
They have: 8 posts
Joined: Jul 2006
Dear Chris,
E-mail spam is a subset of spam that involves sending nearly identical messages to numerous recipients by e-mail.
Common synonym for spam is unsolicited bulk e-mail (UBE).
Here is the code:
http://www.bellonline.co.uk/web-services/free/scripts/php-mailer-script/
Download the BELLonline-mailer.zip. Extract it, and you can easily prevent from the e-mail spams.
Hope this code solves your problem.
realmetrics.com -- Metrics you can count on
JEBACH posted this at 12:03 — 21st April 2007.
They have: 6 posts
Joined: Apr 2007
it worked for me
Thanks ...
________________________
montažne kuće http://modus-kvadrat.com.hr
montažne kuće informacije montažne kuće
nekretnine zagreb informacije nekretnine zagrebjebanje
catering zagreb
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.