FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

simple form security!

 


aningbo
tried javascript validation and then an image validator using php but still the spammers get through my form!! which is flooding my inbox!!

what do u guys do to the forms? any suggestions apart from the above two or should i remove the form from my website!!!! Mad
Roald
php validation
If you use javascript validation users can avoid it. PHP validation can't be avoided.
aningbo
i actually have only 3 inputs... name, email and comments and so is the problem as the robots or spammers usually fills all of them. do i make more inputs or is there any other ways you could think of.
AOP Web Development
hello bro, the only thing that i can advise to you is to use php validation and put a image verification so that it will prevent spamming your contact information.
aningbo
thanx but your suggestions wouldn't work as i haveonly three fields
Roald
Why not? I mean if you validate your forms (with php) and if you have image validiation it would be hard for spambots to keep on spamming...
aningbo
they did lolz and so thats the probably.
Roald
Make some sort of a filter. Or block IPs.
aningbo
filter... wat do u mean by that. blocking IPs wont help as there are people from LAN and WAN... like mine. i cant block IPs.

wat do u mean by filter?
Roald
Make a filter that filters words like lol or if a post is too short block it.
zanetine
hi ,

i think if you have placed your php validatino in place and an image verifictaion too, then your form can not be attacked.

i think you are doing some mistake or you have some loophole in your coding so that spammers are still attacking.

make sure email id you are using is not catch all account.
starfish2007
insted of the image thing you could try giving theuser a ramdom simple math question that they have to give the right answer to i saw a free form to email script that you coulduse that did this but i forget the url of it
zanetine
yes you can ask a question to user like how much 2+3 is , put here a text box alongwoth this so that users can type answer there. each time a page refresh use random values. whatever numbers are generated store them in session. and display question. when user type answer then check if its a correct answer or not.

if this is a correct answer then execute form otherwise not.

but this method is not as much secure as image verification. as most of spamming programs can read out text from pages easily. but not images. so still images are best for validating between human and spambots
aningbo
u r funny zanetine, images are easily readable by those robots. but thanx for the valuable response. i appreciate your help and thanx to starfish2007, i'm planning on that now.

just looking for the available codes else... i start coding myself. thanx again. any other suggestion is welcome guys.
zanetine
This is no fun pal, its programmers job to make hard to read captcha images. if you are going to place plain text on a plain image background then there is no logic making in image verification.

have you ever thought that why google, yahoo image verification place swirl shape characters? those are not easily readable by bots or screen readers.
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.