newb Posted July 25, 2009 Share Posted July 25, 2009 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. Quote Link to comment Share on other sites More sharing options...
.josh Posted July 25, 2009 Share Posted July 25, 2009 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. Quote Link to comment Share on other sites More sharing options...
newb Posted July 25, 2009 Author Share Posted July 25, 2009 i see. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.