users with same ip address or same browser cant make two ids , lavalair

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

    users with same ip address or same browser cant make two ids , lavalair

    hey friends need a little help in lavalair , i m faced with problem of lot fake n multiple ids ids in my site so pls can anyone give me the code so tht users with one ip address cant make any more ids , or same browsers cant register another id , hve searched the forums but cant find it

    #2
    this will end up with you losing members as there will be people using same ip and browser as another member

    Comment


      #3
      oh okay then any function to stop users from creating multiple ids ,

      Comment


        #4
        ^Agree.
        Still many mobile networks use shared IP and almost all users have same IP from that network. So you will ultimately ban that network. Better add email verification
        Follow me @ksg91 | My Blog: http://ksg91.com | Nokia Blog: http://NokiaTips.in

        Comment


          #5
          hmm email validation i had asked earlier in this forum but wasnt able to make it working , searched forum also but didnt find anything for lavalair , pls if anyone hve it , it would b a great help

          Comment


            #6
            use cookies or session instead of identifying user by ip or browser....

            Comment


              #7
              Originally posted by mirror View Post
              hmm email validation i had asked earlier in this forum but wasnt able to make it working , searched forum also but didnt find anything for lavalair , pls if anyone hve it , it would b a great help
              Its simple to make. But I dont like lavalair, so won't like to make it
              Follow me @ksg91 | My Blog: http://ksg91.com | Nokia Blog: http://NokiaTips.in

              Comment


                #8
                oh dear (pray) arnage bro had once tried to help with email validation but it didnt work , (bang)

                Comment


                  #9
                  I tell you how to do it, you implement it.
                  Create a table with three fields, (id, userid, verification_code). id just for giving primary key, in userid, give the username or id no of the users' table and a hash of a randomly generated string in verification_code. Also add one bool field in user's table say 'verified' and put 0 as default. Now when new user register, email him link to verification page with its verification code in querystring and in verification page, if hash is valid, just update the field of 'verified' in user tables and remove entry from verification table.
                  You need to update login process also. If user is unverified, don't let it login. This is that simple.
                  Follow me @ksg91 | My Blog: http://ksg91.com | Nokia Blog: http://NokiaTips.in

                  Comment


                    #10
                    Originally posted by timo View Post
                    use cookies or session instead of identifying user by ip or browser....
                    eg:
                    on login:
                    PHP Code:
                    $month 30 60 24 60 time();
                    setcookie('reg'1$month); 
                    on register:
                    PHP Code:
                    if(!isset($_COOKIE['reg'])){ 
                    //can reg code here
                    }else{  
                    echo 
                    'Sorry but you are already registered here <br/>';

                    and if browser doesn't support cookies ... no harm is done
                    Last edited by something else; 21.12.11, 18:00.

                    Comment


                      #11
                      aaaaaaaa m not able to put ur above words in working code ksg91 bro , m not tht good in coding as whatever i hve learnt is through online tutorials n w3school , m not a professional but just doing it for my hobby but i cant take the harrassment of some really good users at the hand of peoples with fake ids who just spoil the site name , so i would like to implement tht email validation thing suggested .

                      Added after 2 minutes:

                      thanks something else bro any help with email validation thing
                      Last edited by mirror; 21.12.11, 18:04.

                      Comment


                        #12
                        Zip and upload login and register pages with users table from that script. I'll show you what and how to do tomorrow, as Ksg91 said its really easy. ;)
                        But it ain't gonna stop savages totally.
                        Last edited by arnage; 21.12.11, 19:00.
                        <!DOCTYPE html PUBLIC "-//WAPFORUM.RS

                        Comment


                          #13
                          my register.php . core n login with user tables

                          ok arnie bro . here they are .
                          Attached Files

                          Comment


                            #14
                            Here are updated files. Check if working. I was actually going to sleep and saw your post and made this in sleepy state and in hurry in 10 min so no idea about consistency, so please verify the name consistency
                            I have put enough comments to make if self explaining.

                            Updated the code in login.php so that if user is not verified, cookies won't be set. Now call the genVerificationCode function when user is registered and pass the unique id of user as argument to this function. And create a verify.php page and call verifyUser() function on that page. Add these two functions in core.php file. Also added one field in ibwf_users table and one more table for verification.

                            Let me know if you are facing any problem.
                            Attached Files
                            Follow me @ksg91 | My Blog: http://ksg91.com | Nokia Blog: http://NokiaTips.in

                            Comment


                              #15
                              the amount of modifying to the script to properly and securely stop users creating multiple id's per ip/browser is painstakingly time-consuming
                              might as well code a script from scratch as i tried and gave up doing it to my new lavalair script i was coding

                              i just ended up adding a staff validation system with a improved browser and ip detection, that did the job for me

                              Comment

                              Working...
                              X