Isp Blank

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

    #16
    <div class='quotetop'>QUOTE (marwin29 @ Nov 21 2008, 09:36 PM) <{POST_SNAPBACK}></div>
    Guys help i follow the instruction posted here but it doesn&#39;t show ISP and FLAGS .. N0se bleed ayw lumabas..[/b]

    hey dude what is your sql table?

    is it ibwf_network or network?


    lol depends on your table... see your core dude!!!!!!!!!!!!!!!!!!!!!!!! yah core.php

    anu ba ang sql table mo?
    Services

    Are you looking to take your wap or wapsite to a higher level? Do you want to stand out and rise above your competitors?

    Below is a list of services I offer:

    Wap Design and Customized Coding -The first way to stand out in a crowd is to have a brilliant and unique design for your wap or wapsite.

    Rates

    General consulting – My current hourly rate is $100 / hour.
    Custom Wapsite Community - My current rate is $500 / Wap Community Development.

    Comment


      #17
      @idol INET heres my Table i use!. Same Core.Php post here i use!.

      --
      -- Table structure for table `ibwf_network`
      --

      CREATE TABLE IF NOT EXISTS `ibwf_network` (
      `id` int(255) NOT NULL auto_increment,
      `subone` text NOT NULL,
      `subtwo` text NOT NULL,
      `isp` text NOT NULL,
      `country` text NOT NULL,
      `flag` text NOT NULL,
      PRIMARY KEY (`id`)
      ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=185 ;

      --
      -- Dumping data for table `ibwf_network`
      --

      INSERT INTO `ibwf_network` (`id`, `subone`, `subtwo`, `isp`, `country`, `flag`) VALUES
      (1, &#39;85.195.119.14&#39;, &#39;85.195.119.15&#39;, &#39;Anonymouse.org&#39;, &#39;proxy&#39;, &#39;-.gif&#39;),
      (2, &#39;66.249.64.0&#39;, &#39;66.249.95.255&#39;, &#39;Google Inc&#39;, &#39;Proxy&#39;, &#39;-.gif&#39;),
      (3, &#39;72.14.192.0&#39;, &#39;72.14.255.255&#39;, &#39;Google Inc&#39;, &#39;Proxy&#39;, &#39;-.gif&#39;),
      (4, &#39;216.239.32.0&#39;, &#39;216.239.63.255&#39;, &#39;Google Inc&#39;, &#39;Proxy&#39;, &#39;-.gif&#39;),
      (5, &#39;209.85.128.0&#39;, &#39;209.85.255.255&#39;, &#39;Google Inc&#39;, &#39;Proxy&#39;, &#39;-.gif&#39;),
      yan po up to 185 sana ma2lungan nyu po me! Thanks advance

      Comment


        #18
        core.php
        ///////////////////////////////////////////Get IP

        function getip_uid($uid)
        {
        $not = mysql_fetch_array(mysql_query("SELECT ipadd FROM ibwf_users WHERE id=&#39;".$uid."&#39;"));
        return $not[0];

        }
        function ip()
        {
        if($_SERVER["REMOTE_ADDR"]){$ip=$_SERVER["REMOTE_ADDR"];}
        else{$ip=$_SERVER["HTTP_X_FORWARDED_FOR"];}
        if(strpos($ip,",")){
        $exp_ip=explode(",",$ip);
        $ip=$exp_ip[0];
        }
        return $ip;
        }

        function ipinrange($ip, $range1, $range2)
        {
        $ip=ip2long($ip);
        $range1=ip2long($range1);
        $range2=ip2long($range2);
        return (($ip >= $range1) && ($ip <= $range2));
        }

        function network($ip)
        {
        $result=mysql_query("SELECT * FROM ibwf_network ORDER BY subone, subtwo");
        while($ranges=mysql_fetch_array($result)){
        if(ipinrange($ip, $ranges[1], $ranges[2])){
        if(is_file("flags/".$ranges["flag"])){
        $flag="<img src=\"flags/$ranges[5]\" alt=\"$ranges[5]\"/> ";
        $flag2="<img src=\"flags/".$ranges["flag"]."\" alt=\"".$ranges["flag"]."\"/>
        ";
        }
        return $flag.$ranges["isp"]."
        Country:".$ranges["country"];
        }

        Comment


          #19
          Hope some one post other code to show isp or flag!.Hehehe

          Comment


            #20
            <div class='quotetop'>QUOTE (marwin29 @ Nov 25 2008, 10:01 PM) <{POST_SNAPBACK}></div>
            Hope some one post other code to show isp or flag!.Hehehe[/b]
            Use Gumslone&#39;s PCR ip2country script.. If u use the search option u might find one bout network script.. its Gumslone&#39;s topic..

            Comment

            Working...
            X