Reg time gap by same ip/browser

Started on the old forum in January 2010 · view the original in the archive · old links redirect here

12 replies · 744 views · started 16 years ago · 1 min read

6 participants
subzero Super moderator Fellow · 3,954 posts #2

like this

101 101 101 010 as there ip

browser Opera

????

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

DiL Developer · 142 posts #3

subzero wrote: like this

101 101 101 010 as there ip

browser Opera

????

Like this:

IF one user sign up with IP: 117.117.123.321 and Browser: Nokia 6600

and when new other sign up takes place within 10 mints of prev. sign up with same IP and Prowser

Than script show a message that plz wait 10 mints

Ok bro............

subzero Super moderator Fellow · 3,954 posts #4

Use cookies lol simple done

Use google to get the code simple done.

Your set 😉

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

syrus Junior · 44 posts #5

subzero wrote: Use cookies lol simple done

Use google to get the code simple done.

Your set ;)

and what if i disable cookies?

GumSlone Administrator Principal · 1,690 posts #9

DiL wrote: But How can i stop reg with same ip and browser for just 10 mint

I want to get this to stop antiflod or any spaming

help me plz

do you also store registration time for every user in mysql table?

Advertise your mobile site for FREE with AdTwirl

External image (may be gone)

manavworld Developer · 118 posts #12

How to put users agent,ip and registration time of the each user at db. Can u plz explain little bit?plz

sklbd Junior · 47 posts #13

put this code in register .php

if ($canreg=='2') { $offtime=time()+12460*60; mysql_query("INSERT INTO ibwf_penalties SET uid='".$usid[0]."', penalty='0', exid='4', timeto='".$offtime."', pnreas='Sorry Registetion Off 4 Few Minit .', ipadd='".$REMOTE_ADDR."', browserm='".$HTTP_USER_AGENT."'"); mysql_query("INSERT INTO ibwf_penalties SET uid='".$usid[0]."', penalty='3', exid='4', timeto='".$offtime."', pnreas='Sorry Registetion Off 4 Few Minit', ipadd='".$REMOTE_ADDR."', browserm='".$HTTP_USER_AGENT."'"); mysql_query("INSERT INTO ibwf_penalties SET uid='".$usid[0]."', penalty='4', exid='4', timeto='".$ptime."', pnreas='Sorry Registetion Off 4 Few Minit.', ipadd='".$REMOTE_ADDR."', browserm='".$HTTP_USER_AGENT."'"); mysql_query("UPDATE ibwf_users SET inboxb='1' WHERE id='".$usid[0]."'"); mysql_query("UPDATE ibwf_users SET forumb='1' WHERE id='".$usid[0]."'"); mysql_query("UPDATE ibwf_users SET shoutb='1' WHERE id='".$usid[0]."'");

mysql_query("UPDATE ibwf_users SET lastpnreas='You have just registered, please wait until your account gets validated.', ua='$HTTP_USER_AGENT', ip='$REMOTE_ADDR' WHERE id='".$usid[0]."'");

then create database

CREATE TABLE ibwf_penalties ( id int(10) NOT NULL auto_increment, uid int(100) NOT NULL default '0', penalty char(1) NOT NULL default '0', exid int(100) NOT NULL default '0', timeto int(100) NOT NULL default '0', pnreas varchar(100) NOT NULL default '', ipadd varchar(30) NOT NULL default '', browserm varchar(100) NOT NULL default '', PRIMARY KEY (id) ) ENGINE=MyISAM AUTO_INCREMENT=204 DEFAULT CHARSET=latin1 AUTO_INCREMENT=204 ;

ShaK!L AhammeD

Sklifbd.CoM +88-01730039272

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close