Ip

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

    Ip

    how do i insert a country or host .txt when i add a inlude ip detector

    #2
    do you mean like resolving an ip address? dont fully understand what your asking tbh

    Comment


      #3
      yep that i see their host

      Comment


        #4
        try this

        Code:
        <?php
            $ip = $_SERVER[&#39;REMOTE_ADDR&#39;];
            $fullhost = gethostbyaddr($ip);
            $host = preg_replace("/^[^.]+./", "$ip.", $fullhost);
        ?>
        
        IP address <?=$ip?> | Host: <?=$host?>

        Comment


          #5
          try this

          Code:
          <?php
              $ip = $_SERVER[&#39;REMOTE_ADDR&#39;];
              $fullhost = gethostbyaddr($ip);
              $host = preg_replace("/^[^.]+./", "$ip.", $fullhost);
          ?>
          
          IP address <?=$ip?> | Host: <?=$host?>
          [/b]
          thank u only where do i add that??

          Comment


            #6
            try this

            Code:
            <?php
                $ip = $_SERVER[&#39;REMOTE_ADDR&#39;];
                $fullhost = gethostbyaddr($ip);
                $host = preg_replace("/^[^.]+./", "$ip.", $fullhost);
            ?>
            
            IP address <?=$ip?> | Host: <?=$host?>
            [/b]

            cn it b modified 4 lava script?

            i&#39;d like 2 put tht in user profile so admin/mods cn c the country/host....

            pls
            sigpiceeeeerrr....

            Comment


              #7
              yeah should be able to add it to lava script with a lil editing

              Comment


                #8
                yeah should be able to add it to lava script with a lil editing[/b]

                so... it should b modified user profile and core.php....? or the core doesnt need 2 b touched?
                sigpiceeeeerrr....

                Comment


                  #9
                  Do tell me if am wrong or misunderstood the question, but would I be right in saying that won’t actually show the users ip details to the owner infact it will be showing the owners itself??

                  Want something coded email me at sales@webnwaphost.com for a prices.




                  Comment


                    #10
                    Do tell me if am wrong or misunderstood the question, but would I be right in saying that won’t actually show the users ip details to the owner infact it will be showing the owners itself??

                    [/b]

                    huh?
                    sigpiceeeeerrr....

                    Comment


                      #11
                      ok so say if i logged into a chat site, and i went to visit a profile and it had that code inserted it would come up with my ip details not the users profile i am visiting. i think to get the user pprofile i may b visitng u will need a database involvd to store the ip once theyv loged in and then a code 2 display it
                      Want something coded email me at sales@webnwaphost.com for a prices.




                      Comment


                        #12
                        i dnt really get this.... when i put the code at user profile, i just get sum strange double ip address

                        4 e.g. mine is IP address =87.252.131.208 | Host: =87.252.131.208.252.131.208

                        wtf??
                        sigpiceeeeerrr....

                        Comment


                          #13
                          the second one is the host addy, so ur internet providers and uv got ur unique one from that, but im probs wrong, wel i got an inkinlin am defo wrong lol sorry m8
                          Want something coded email me at sales@webnwaphost.com for a prices.




                          Comment


                            #14
                            the second one is the host addy, so ur internet providers and uv got ur unique one from that, but im probs wrong, wel i got an inkinlin am defo wrong lol sorry m8[/b]

                            yeah but i thought it would say ht-mobile lmao


                            this doesnt work as i thought so i guess
                            sigpiceeeeerrr....

                            Comment

                            Working...
                            X