Jump to content

Recommended Posts

Hello, first of all i dont know if i am in the right section so feel free to move the topic...

 

so i want to add a hometown feature in my website.. the thing is how can i prevent users from using spam words and such stuff?

 

do i have to search the inputted text in my spam list and and if it finds a word in there then tell them that they have to rewrite their hometown? or ?

 

thanks..

Link to comment
https://forums.phpfreaks.com/topic/225490-hometown-spam-check/
Share on other sites

Could you elaborate on 'spam words', its a bit vague. 

 

Akismet is a good service for stopping spam in general though its focused on comment and trackback spam for blogs, but can be adapted.  If you're worried about bots spamming your site having an image captcha, that a user inputs on submit is definitely a good solution, reCaptcha is pretty much the industry standard on this technology nowadays but it can be implemented readily with some inventive GD image and font manipulation.  Neither of the mentioned solutions is perfect, so make sure to build in some features for yourself to easily review the user content.

Link to comment
https://forums.phpfreaks.com/topic/225490-hometown-spam-check/#findComment-1164406
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.