Jump to content

prevent spam registrations from same ip.


newb

Recommended Posts

hi, i have a script that allows users to register an acct...

http://www.onpunbb.com/install.php

 

but what i want is to tweak it to make it something like how vbulletin or similar forum software does with preventing users from spam posting. so that it prevents them from registering until x amount of minutes has passed since their last registration to prevent duplicate / spam accounts.

 

whats the best way to implement this? if someone has a function for this pls help, thanks.

Link to comment
Share on other sites

store the IP address in the account table (where the rest of the acct info is being stored), along with timestamp of registration.  When user registers, check the IP address to see if it exists, and if so, compare timestamp with current time.  This isn't really all that effective, though, as most spambots go through a proxy server to change up IP addresses.  So far the most effective means of preventing spam is by using captcha verification or creating a honeypot to catch spambots. 

Link to comment
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.