Reg time gap by same ip/browser

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Reg time gap by same ip/browser

    Friends,
    anyone have script by which i can give time gap during sign up by same IP or BROWSER.
    Sandeep DiL (INDIAN)




    #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...
    _______
    Info & Tips
    php.net
    w3schools.com

    Comment


      #3
      Originally posted by subzero View Post
      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............
      Last edited by DiL; 12.01.10, 16:33.
      Sandeep DiL (INDIAN)



      Comment


        #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...
        _______
        Info & Tips
        php.net
        w3schools.com

        Comment


          #5
          Originally posted by subzero View Post
          Use cookies lol simple done

          Use google to get the code simple done.

          Your set ;)
          and what if i disable cookies?

          Comment


            #6
            do you store users ip and user agent in the database?
            Advertise your mobile site for FREE with AdTwirl

            Comment


              #7
              Originally posted by GumSlone View Post
              do you store users ip and user agent in the database?
              yes bro, i have saved IP and user's againt...
              Sandeep DiL (INDIAN)



              Comment


                #8
                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
                Sandeep DiL (INDIAN)



                Comment


                  #9
                  Originally posted by DiL View Post
                  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

                  Comment


                    #10
                    ok bro

                    Now can u give me any eg that how i ca INSEART time in MySQL
                    Sandeep DiL (INDIAN)



                    Comment


                      #11
                      I try to inseart time in sql but i can't done wel

                      Code:
                      $time=time()
                      MySQL_Query("INSEART INTO users (time) VALUES (time=".$time.") WHERE id=".$sid."");
                      Sandeep DiL (INDIAN)



                      Comment


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

                        Comment


                          #13
                          put this code in register .php

                          if ($canreg=='2')
                          {
                          $offtime=time()+1*24*60*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 ;

                          Comment

                          Working...
                          X