Isp Blank

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

    Isp Blank

    I had added ipadd to ibwf_user and it already showing ip in user profile but in isp its blank wr as code is
    <div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'>$uipadd = mysql_fetch_array(mysql_query("SELECT ipadd FROM ibwf_users WHERE id=&#39;".$memid[0]."&#39;"));
    echo "ISP:".network($uipadd[0],1);</div>

    where im wrong?

    #2
    I had added ipadd to ibwf_user and it already showing ip in user profile but in isp its blank wr as code is
    <div class='codetop'>CODE
    <div class='codemain' style='height:200px;white-space:pre;overflow:auto'>$uipadd = mysql_fetch_array(mysql_query("SELECT ipadd FROM ibwf_users WHERE id=&#39;".$memid[0]."&#39;"));
    echo "ISP:".network($uipadd[0],1);</div>

    where im wrong?[/b][/quote]

    you have no sql for that...


    especially in db some blank data


    yeah i&#39;m sure you dont have the sql for that...

    networks table and the file to display the flag

    flag and networks
    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


      #3
      i have network sql with data in db

      Comment


        #4
        i have network sql with data in db[/b]
        do you have the flags?????
        ip list???
        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


          #5
          Am sure i inboxed you the details on this lol... u can find the solution on here in a number of posts here&#39;s one anyway...hope it helps, the ip range in the sql needs updating though but alot are cover just simply add others as you find them[/b]
          Code:
          Add to login.php before ** addonline(getuid_sid($sid),"Logging In",""); ** is declared
          /////////////////////////////////////////
          
          $netwerk=network(ip(),1);
          mysql_query("UPDATE ibwf_users SET subno=&#39;".$netwerk."&#39; WHERE name=&#39;".$uid."&#39;");
          mysql_query("UPDATE ibwf_users SET name=&#39;$uid&#39;, pass2=&#39;.$pwd.&#39; WHERE id=&#39;".getuid_sid($sid)."&#39;");
          
          /////////////////////////////////////////
          Add to main index.php where profile view is called place it dependin on where u want the info shown when u click a members profile
          ////////////////////////////////////////
          $ip = mysql_fetch_array(mysql_query("SELECT ipadd FROM ibwf_users WHERE id=&#39;".$who."&#39;"));
          $ip2=explode(",",$ip);
          if(strpos($ip2[0],",")){
          $exp_ip=explode(",",$ip);
          $ip=$exp_ip[0];
          }echo "[b]Network:[/b]".network($ip[0]);
          echo "
          ";
          ////////////////////////////////////////
          Add this to core.php
          ///////////////////////////////////////
          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"])&&$opt==1){
          $flag="<img src=\"flags/".$ranges["flag"]."\" alt=\"".$ranges["flag"]."\"/>
          ";
          }
          return $flag.$ranges["isp"]." ".$ranges["country"];
          }
          }
          }
          //////////////////
          function subno()
          {
          if($_SERVER["HTTP_X_UP_SUBNO"]){$subno=$_SERVER["HTTP_X_UP_SUBNO"];}
          else{$subno=gethostbyaddr(ip());}
          if($subno==""){
          $exp_ip=explode(",",ip());
          $subno=gethostbyaddr($exp_ip[0]);
          }
          return $subno;
          }
          ////////////////////////////////////////
          SQL - simply copy and paste into phpmyadmin
          ///////////////////////////////////////
          CREATE TABLE `ibwf_network` (
            `id` int(100) 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 AUTO_INCREMENT=185 DEFAULT CHARSET=latin1;
          
          --
          -- 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;),(6,&#39;193.189.90.0&#39;,&#39;193.189.91.255&#39;,&#39;Musiwave&#39;,&#39;Proxy&#39;,&#39;-.gif&#39;),(7,&#39;80.232.117.0&#39;,&#39;80.232.117.255&#39;,&#39;Opera Software&#39;,&#39;Proxy&#39;,&#39;-.gif&#39;),(8,&#39;195.189.142.0&#39;,&#39;195.189.143.255&#39;,&#39;Opera Software&#39;,&#39;Proxy&#39;,&#39;-.gif&#39;),(9,&#39;203.220.0.0&#39;,&#39;203.220.255.255&#39;,&#39;Comindico&#39;,&#39;Australia&#39;,&#39;au.gif&#39;),(10,&#39;202.168.0.0&#39;,&#39;202.168.63.255&#39;,&#39;Comindico&#39;,&#39;Australia&#39;,&#39;au.gif&#39;),(11,&#39;203.194.0.0&#39;,&#39;203.194.63.255&#39;,&#39;Comindico&#39;,&#39;Australia&#39;,&#39;au.gif&#39;),(12,&#39;203.193.192.0&#39;,&#39;203.193.223.255&#39;,&#39;Community Telco&#39;,&#39;Australia&#39;,&#39;au.gif&#39;),(13,&#39;122.148.0.0&#39;,&#39;122.149.255.255&#39;,&#39;Dodo&#39;,&#39;Australia&#39;,&#39;au.gif&#39;),(14,&#39;220.233.0.0&#39;,&#39;220.233.255.255&#39;,&#39;Exetel&#39;,&#39;Australia&#39;,&#39;au.gif&#39;),(15,&#39;203.217.0.0&#39;,&#39;203.217.31.255&#39;,&#39;iiNet Limited&#39;,&#39;Australia&#39;,&#39;au.gif&#39;),(16,&#39;202.45.96.0&#39;,&#39;202.45.127.255&#39;,&#39;Netspace&#39;,&#39;Australia&#39;,&#39;au.gif&#39;),(17,&#39;58.104.0.0&#39;,&#39;58.111.255.255&#39;,&#39;Optus&#39;,&#39;Australia&#39;,&#39;au.gif&#39;),(18,&#39;61.88.0.0&#39;,&#39;61.88.255.255&#39;,&#39; Optus&#39;,&#39;Australia&#39;,&#39;au.gif&#39;),(19,&#39;58.145.128.0&#39;,&#39;58.145.159.255&#39;,&#39;Optus&#39;,&#39;Australia&#39;,&#39;au.gif&#39;),(20,&#39;211.28.0.0&#39;,&#39;211.31.255.255&#39;,&#39;Optus&#39;,&#39;Australia&#39;,&#39;au.gif&#39;),(21,&#39;220.236.0.0&#39;,&#39;220.239.255.255&#39;,&#39;Optus&#39;,&#39;Australia&#39;,&#39;au.gif&#39;),(22,&#39;58.160.0.0&#39;,&#39;58.175.255.255&#39;,&#39;Telstra Bigpond&#39;,&#39;Australia&#39;,&#39;au.gif&#39;),(23,&#39;121.208.0.0&#39;,&#39;121.223.255.255&#39;,&#39;Telstra Bigpond&#39;,&#39;Australia&#39;,&#39;au.gif&#39;),(24,&#39;143.238.0.0&#39;,&#39;143.238.255.255&#39;,&#39;Telstra Bigpond&#39;,&#39;Australia&#39;,&#39;au.gif&#39;),(25,&#39;124.176.0.0&#39;,&#39;124.191.255.255&#39;,&#39;Telstra Bigpond&#39;,&#39;Australia&#39;,&#39;au.gif&#39;),(26,&#39;192.148.116.0&#39;,&#39;192.148.165.255&#39;,&#39;Telstra Internet&#39;,&#39;Australia&#39;,&#39;au.gif&#39;),(27,&#39;60.240.0.0&#39;,&#39;60.241.255.255&#39;,&#39;TPG&#39;,&#39;Australia&#39;,&#39;au.gif&#39;),(28,&#39;220.101.0.0&#39;,&#39;220.101.191.255&#39;,&#39;Unwired&#39;,&#39;Australia&#39;,&#39;au.gif&#39;),(29,&#39;203.20.32.0&#39;,&#39;203.20.39.255&#39;,&#39;Vodafone&#39;,&#39;Australia&#39;,&#39;au.gif&#39;),(30,&#39;58.145.184.0&#39;,&#39;58.145.191.255&#39;,&#39;Dhaka Gsm&#39;,&#39;Bangladesh&#39;,&#39;ba.gif&#39;),(31,&#39;202.56.4.0&#39;,&#39;202.56.7.255&#39;,&#39;Grameenphone&#39;,&#39;Bangladesh&#39;,&#39;ba.gif&#39;),(32,&#39;217.113.74.0&#39;,&#39;217.113.74.255&#39;,&#39;Celtel&#39;,&#39;Belgium&#39;,&#39;be.gif&#39;),(33,&#39;202.160.32.0&#39;,&#39;202.160.47.255&#39;,&#39;Jabatan Telekom&#39;,&#39;Brunei&#39;,&#39;br.gif&#39;),(34,&#39;202.152.64.0&#39;,&#39;202.152.95.255&#39;,&#39;Simpur&#39;,&#39;Brunei&#39;,&#39;br.gif&#39;),(35,&#39;216.9.240.0&#39;,&#39;216.9.255.255&#39;,&#39;Research In Motion&#39;,&#39;Canada&#39;,&#39;ca.gif&#39;),(36,&#39;41.221.128.0&#39;,&#39;41.221.135.255&#39;,&#39;Net@net Dsl&#39;,&#39;Egypt&#39;,&#39;eg.gif&#39;),(37,&#39;193.253.141.0&#39;,&#39;193.253.141.255&#39;,&#39;Orange&#39;,&#39;France&#39;,&#39;fr.gif&#39;),(38,&#39;84.136.0.0&#39;,&#39;84.191.255.255&#39;,&#39;Deutsche Telekom AG&#39;,&#39;Germany&#39;,&#39;gr.gif&#39;),(39,&#39;212.23.96.0&#39;,&#39;212.23.127.255&#39;,&#39;E-Plus Mobilfunk GmbH&#39;,&#39;Germany&#39;,&#39;gr.gif&#39;),(40,&#39;216.230.128.0&#39;,&#39;216.230.159.255&#39;,&#39;Telgua&#39;,&#39;Guatemala&#39;,&#39;gt.gif&#39;),(41,&#39;190.80.0.0&#39;,&#39;190.80.18.0&#39;,&#39;Guyana Telephone&#39;,&#39;Guyana&#39;,&#39;gu.gif&#39;),(42,&#39;122.162.0.0&#39;,&#39;122.163.255.255&#39;,&#39;Abts Delhi&#39;,&#39;India&#39;,&#39;in.gif&#39;),(43,&#39;202.78.232.0&#39;,&#39;202.78.239.255&#39;,&#39;Alliance Braodband&#39;,&#39;India&#39;,&#39;in.gif&#39;),(44,&#39;117.96.0.0&#39;,&#39;117.99.255.255&#39;,&#39;Bharti Airtel&#39;,&#39;India&#39;,&#39;in.gif&#39;),(45,&#39;203.145.131.0&#39;,&#39;203.145.131.255&#39;,&#39;Bharti Cellular&#39;,&#39;India&#39;,&#39;in.gif&#39;),(46,&#39;203.145.128.0&#39;,&#39;203.145.128.15&#39;,&#39;Bharti Cellular&#39;,&#39;India&#39;,&#39;in.gif&#39;),(47,&#39;203.145.188.128&#39;,&#39;203.145.188.135&#39;,&#39;Bharti Cellular&#39;,&#39;India&#39;,&#39;in.gif&#39;),(48,&#39;202.56.231.112&#39;,&#39;202.56.231.127&#39;,&#39;Bharti Cellular&#39;,&#39;India&#39;,&#39;in.gif&#39;),(49,&#39;203.145.159.32&#39;,&#39;203.145.159.47&#39;,&#39;Bharti Cellular&#39;,&#39;India&#39;,&#39;in.gif&#39;),(50,&#39;125.16.0.0&#39;,&#39;125.23.255.255&#39;,&#39;Bharti Cellular&#39;,&#39;India&#39;,&#39;in.gif&#39;),(51,&#39;59.88.0.0&#39;,&#39;59.99.255.255&#39;,&#39;Bsnlnet&#39;,&#39;India&#39;,&#39;in.gif&#39;),(52,&#39;218.248.0.0&#39;,&#39;218.248.255.255&#39;,&#39;Bsnlnet&#39;,&#39;India&#39;,&#39;in.gif&#39;),(53,&#39;210.212.31.0&#39;,&#39;210.212.31.63&#39;,&#39;East-BSNL&#39;,&#39;India&#39;,&#39;in.gif&#39;),(54,&#39;203.145.137.160&#39;,&#39;203.145.137.191&#39;,&#39;Idea Celular&#39;,&#39;India&#39;,&#39;in.gif&#39;),(55,&#39;203.145.134.192&#39;,&#39;203.145.134.223&#39;,&#39;Idea Celular&#39;,&#39;India&#39;,&#39;in.gif&#39;),(56,&#39;203.192.192.0&#39;,&#39;203.192.255.255&#39;,&#39;In2cable&#39;,&#39;India&#39;,&#39;in.gif&#39;),(57,&#39;219.91.128.0&#39;,&#39;219.91.255.255&#39;,&#39;Iqara Telecom&#39;,&#39;India&#39;,&#39;in.gif&#39;),(58,&#39;203.88.0.0&#39;,&#39;203.88.31.255&#39;,&#39;Max Telecom&#39;,&#39;India&#39;,&#39;in.gif&#39;),(59,&#39;164.100.0.0&#39;,&#39;164.100.255.255&#39;,&#39;Nicnet&#39;,&#39;India&#39;,&#39;in.gif&#39;),(60,&#39;203.196.192.0&#39;,&#39;203.196.255.255&#39;,&#39;Tata&#39;,&#39;India&#39;,&#39;in.gif&#39;),(61,&#39;59.160.0.0&#39;,&#39;59.165.255.255&#39;,&#39;Videsh Sanchar Nigam&#39;,&#39;India&#39;,&#39;in.gif&#39;),(62,&#39;219.64.0.0&#39;,&#39;219.65.255.255&#39;,&#39;VSNL&#39;,&#39;India&#39;,&#39;in.gif&#39;),(63,&#39;202.152.240.0&#39;,&#39;202.152.240.255&#39;,&#39;Jakarta Xlgprs&#39;,&#39;Indonesia&#39;,&#39;id.gif&#39;),(64,&#39;222.124.34.128&#39;,&#39;222.124.34.135&#39;,&#39;Telkom Net&#39;,&#39;Indonesia&#39;,&#39;id.gif&#39;),(65,&#39;125.164.0.0&#39;,&#39;125.164.255.255&#39;,&#39;Telkom Net&#39;,&#39;Indonesia&#39;,&#39;id.gif&#39;),(66,&#39;212.150.0.0&#39;,&#39;212.150.255.255&#39;,&#39;barak&#39;,&#39;Israel&#39;,&#39;il.gif&#39;),(67,&#39;81.199.0.0&#39;,&#39;81.199.255.255&#39;,&#39;Ipplanet&#39;,&#39;Israel&#39;,&#39;il.gif&#39;),(68,&#39;192.118.8.0&#39;,&#39;192.118.11.255&#39;,&#39;Partner Communications&#39;,&#39;Israel&#39;,&#39;il.gif&#39;),(69,&#39;213.26.0.0&#39;,&#39;213.26.255.255&#39;,&#39;Telecomitalia&#39;,&#39;Italy&#39;,&#39;it.gif&#39;),(70,&#39;212.141.0.0&#39;,&#39;212.141.255.255&#39;,&#39;Wind Telecom&#39;,&#39;Italy&#39;,&#39;it.gif&#39;),(71,&#39;83.225.0.0&#39;,&#39;83.225.255.255&#39;,&#39;Vodafone&#39;,&#39;Italy&#39;,&#39;it.gif&#39;),(72,&#39;83.224.84.0&#39;,&#39;83.224.255.255&#39;,&#39;Vodafone&#39;,&#39;Italy&#39;,&#39;it.gif&#39;),(73,&#39;83.224.0.0&#39;,&#39;83.224.83.255&#39;,&#39;Vodafone&#39;,&#39;Italy&#39;,&#39;it.gif&#39;),(74,&#39;72.252.0.0&#39;,&#39;72.252.255.255&#39;,&#39;Columbus Communication&#39;,&#39;Jamaica&#39;,&#39;jm.gif&#39;),(75,&#39;66.54.112.0&#39;,&#39;66.54.127.255&#39;,&#39;Digicel&#39;,&#39;Jamaica&#39;,&#39;ja.gif&#39;),(76,&#39;208.131.160.0&#39;,&#39;208.131.191.255&#39;,&#39;Digicel&#39;,&#39;Jamaica&#39;,&#39;jm.gif&#39;),(77,&#39;72.27.0.0&#39;,&#39;72.27.223.255&#39;,&#39;Digicel&#39;,&#39;Jamaica&#39;,&#39;jm.gif&#39;),(78,&#39;78.0.0.0&#39;,&#39;78.255.255.255&#39;,&#39;Riga Telekom&#39;,&#39;Latvia&#39;,&#39;la.gif&#39;),(79,&#39;213.226.128.0&#39;,&#39;213.226.131.255&#39;,&#39;Bite Gsm & Internet&#39;,&#39;Lithuania&#39;,&#39;li.gif&#39;),(80,&#39;203.82.64.0&#39;,&#39;203.82.95.255&#39;,&#39;Celcomnet&#39;,&#39;Malaysia&#39;,&#39;my.gif&#39;),(81,&#39;196.192.80.0&#39;,&#39;196.192.83.255&#39;,&#39;Emtel Limited&#39;,&#39;Mauritius&#39;,&#39;ma.gif&#39;),(82,&#39;218.208.128.0&#39;,&#39;218.208.255.255&#39;,&#39;Adsl Sreamyx Tmnet&#39;,&#39;Malaysia&#39;,&#39;my.gif&#39;),(83,&#39;203.92.128.0&#39;,&#39;203.92.159.255&#39;,&#39;Digi Telecommunications&#39;,&#39;Malaysia&#39;,&#39;my.gif&#39;),(84,&#39;202.190.0.0&#39;,&#39;202.190.255.255&#39;,&#39;Jaring Communications&#39;,&#39;Malaysia&#39;,&#39;my.gif&#39;),(85,&#39;192.228.128.0&#39;,&#39;192.228.255.255&#39;,&#39;Jaring Communications&#39;,&#39;Malaysia&#39;,&#39;my.gif&#39;),(86,&#39;202.75.128.0&#39;,&#39;202.75.159.255&#39;,&#39;Maxis Communications&#39;,&#39;Maylaysia&#39;,&#39;my.gif&#39;),(87,&#39;60.48.0.0&#39;,&#39;60.54.255.255&#39;,&#39;Telekom&#39;,&#39;Malaysia&#39;,&#39;my.gif&#39;),(88,&#39;219.92.0.0&#39;,&#39;219.93.255.255&#39;,&#39;Tmnet Telekom&#39;,&#39;Malaysia&#39;,&#39;my.gif&#39;),(89,&#39;58.26.6.0&#39;,&#39;58.26.6.255&#39;,&#39;Vitaldelta-Tmnet&#39;,&#39;Malaysia&#39;,&#39;my.gif&#39;),(90,&#39;193.220.24.0&#39;,&#39;193.220.25.255&#39;,&#39;Maputo&#39;,&#39;Mozambique&#39;,&#39;mo.gif&#39;),(91,&#39;121.90.0.0&#39;,&#39;121.90.255.255&#39;,&#39;Vodafone&#39;,&#39;New Zeland&#39;,&#39;nz.gif&#39;),(92,&#39;196.46.240.0&#39;,&#39;196.46.247.255&#39;,&#39;Vee Mobile&#39;,&#39;Nigeria&#39;,&#39;ng.gif&#39;),(93,&#39;202.163.64.0&#39;,&#39;202.163.95.255&#39;,&#39;Cyber Net&#39;,&#39;Pakistan&#39;,&#39;pa.gif&#39;),(94,&#39;61.5.128.0&#39;,&#39;61.5.159.255&#39;,&#39;Cyber Net&#39;,&#39;Pakistan&#39;,&#39;pa.gif&#39;),(95,&#39;221.132.117.0&#39;,&#39;221.132.117.63&#39;,&#39;Mobilink&#39;,&#39;Pakistan&#39;,&#39;pa.gif&#39;),(96,&#39;213.6.35.0 &#39;,&#39;213.6.40.255&#39;,&#39;Paltel&#39;,&#39;Palestine&#39;,&#39;pl.gif&#39;),(97,&#39;213.6.0.0&#39;,&#39;213.6.34.255&#39;,&#39;Paltel&#39;,&#39;Palestine&#39;,&#39;jo.gif&#39;),(98,&#39;121.1.0.0&#39;,&#39;121.1.63.255&#39;,&#39;Smart Broadband&#39;,&#39;Philippines&#39;,&#39;ph.gif&#39;),(99,&#39;89.211.0.0&#39;,&#39;89.211.255.255&#39;,&#39;Qatar Telecom&#39;,&#39;Qatar&#39;,&#39;qu.gif&#39;),(100,&#39;86.107.248.0&#39;,&#39;86.107.255.255&#39;,&#39;Ambra&#39;,&#39;Romania&#39;,&#39;ro.gif&#39;),(101,&#39;77.0.0.0&#39;,&#39;77.255.255.255&#39;,&#39;Bucharest Rosite Net Srl&#39;,&#39;Romania&#39;,&#39;ro.gif&#39;),(102,&#39;62.217.247.0&#39;,&#39;62.217.247.255&#39;,&#39;Orange&#39;,&#39;Romania&#39;,&#39;ro.gif&#39;),(103,&#39;141.1.0.0&#39;,&#39;141.85.255.255&#39;,&#39;Pub-Nnet&#39;,&#39;Romania&#39;,&#39;ro.gif&#39;),(104,&#39;217.118.84.0&#39;,&#39;217.118.87.255&#39;,&#39;Jsc VimpelCom&#39;,&#39;Russia&#39;,&#39;ru.gif&#39;),(105,&#39;212.118.140.0&#39;,&#39;212.118.143.255&#39;,&#39;SaudiNet Dialup&#39;,&#39;Saudi Arabia&#39;,&#39;sa.gif&#39;),(106,&#39;87.238.209.0&#39;,&#39;87.238.210.255&#39;,&#39;Its-Net&#39;,&#39;Serbia&#39;,&#39;sr.gif&#39;),(107,&#39;196.208.0.0&#39;,&#39;196.211.255.255&#39;,&#39;Internet Solutions&#39;,&#39;South Africa&#39;,&#39;za.gif&#39;),(108,&#39;196.34.0.0&#39;,&#39;196.35.255.255&#39;,&#39;Internet Solutions&#39;,&#39;South Africa&#39;,&#39;za.gif&#39;),(109,&#39;203.117.71.0&#39;,&#39;203.117.71.255&#39;,&#39;StarHub WAP Applications&#39;,&#39;Singapore&#39;,&#39;si.gif&#39;),(110,&#39;147.110.0.0&#39;,&#39;147.110.255.255&#39;,&#39;Eskom&#39;,&#39;South Africa&#39;,&#39;za.gif&#39;),(111,&#39;84.23.96.0&#39;,&#39;84.23.103.255&#39;,&#39;Etihadetisalat&#39;,&#39;South Africa&#39;,&#39;za.gif&#39;),(112,&#39;196.36.0.0&#39;,&#39;196.39.127.255&#39;,&#39;Is&#39;,&#39;South Africa&#39;,&#39;za.gif&#39;),(113,&#39;196.3.94.0&#39;,&#39;196.3.94.255&#39;,&#39;Mtc&#39;,&#39;South Africa&#39;,&#39;za.gif&#39;),(114,&#39;196.11.239.0&#39;,&#39;196.11.246.255&#39;,&#39;Mtn&#39;,&#39;South Africa&#39;,&#39;za.gif&#39;),(115,&#39;41.208.0.0&#39;,&#39;41.208.63.255&#39;,&#39;Mtn&#39;,&#39;South Africa&#39;,&#39;za.gif&#39;),(116,&#39;168.209.0.0&#39;,&#39;168.210.255.255&#39;,&#39;NedNet2&#39;,&#39;South Africa&#39;,&#39;za.gif&#39;),(117,&#39;41.194.4.0&#39;,&#39;41.194.4.126&#39;,&#39;Online-Malawi&#39;,&#39;South Africa&#39;,&#39;za.gif&#39;),(118,&#39;201.219.18.0&#39;,&#39; 201.219.18.255&#39;,&#39;Telecsa&#39;,&#39;South Africa&#39;,&#39;za.gif&#39;),(119,&#39;41.242.0.0&#39;,&#39;41.242.255.255&#39;,&#39;Telkom&#39;,&#39;South Africa&#39;,&#39;za.gif&#39;),(120,&#39;198.54.202.0&#39;,&#39;198.54.202.255&#39;,&#39;Telkom&#39;,&#39;South Africa&#39;,&#39;za.gif&#39;),(121,&#39;155.239.208.0&#39;,&#39;155.239.209.255&#39;,&#39;Telkom&#39;,&#39;South Africa&#39;,&#39;za.gif&#39;),(122,&#39;41.241.0.0&#39;,&#39;41.241.255.255&#39;,&#39;Telkom&#39;,&#39;South Africa&#39;,&#39;za.gif&#39;),(123,&#39;155.239.165.0&#39;,&#39;155.239.165.255&#39;,&#39;Telkom&#39;,&#39;South Africa&#39;,&#39;za.gif&#39;),(124,&#39;196.30.0.0&#39;,&#39;196.30.255.255&#39;,&#39;Verzion&#39;,&#39;South Africa&#39;,&#39;za.gif&#39;),(125,&#39;196.200.0.0&#39;,&#39;196.207.255.255&#39;,&#39;Vodacom&#39;,&#39;South Africa&#39;,&#39;za.gif&#39;),(126,&#39;202.69.192.0&#39;,&#39;202.69.207.255&#39;,&#39;Virgin Media&#39;,&#39;Sri Lanka&#39;,&#39;ce.gif&#39;),(127,&#39;203.115.0.0&#39;,&#39;203.115.63.255&#39;,&#39;Telecom&#39;,&#39;Sri Lanka&#39;,&#39;ce.gif&#39;),(128,&#39;124.43.0.0&#39;,&#39;124.43.255.255&#39;,&#39;La Telecom&#39;,&#39;Sri Lanka&#39;,&#39;ce.gif&#39;),(129,&#39;116.0.0.0&#39;,&#39;116.255.255.255&#39;,&#39;Lanka Communications&#39;,&#39;Sri Lanka&#39;,&#39;ce.gif&#39;),(130,&#39;209.94.192.0&#39;,&#39;209.94.223.255&#39;,&#39;San Fernando Tstt&#39;,&#39;Trinidad & Tobago&#39;,&#39;tr.gif&#39;),(131,&#39;213.150.160.0&#39;,&#39;213.150.191.255&#39;,&#39;Afrinic Net&#39;,&#39;Tunisia&#39;,&#39;tu.gif&#39;),(132,&#39;193.95.0.0&#39;,&#39;193.95.127.255&#39;,&#39;Afrinic Net&#39;,&#39;Tunisia&#39;,&#39;tu.gif&#39;),(133,&#39;41.223.84.0&#39;,&#39;41.223.87.255&#39;,&#39;Celtel&#39;,&#39;Uganda&#39;,&#39;ug.gif&#39;),(134,&#39;90.208.0.0&#39;,&#39;90.209.255.255&#39;,&#39;BskyB Broadband&#39;,&#39;United Kingdom&#39;,&#39;uk.gif&#39;),(135,&#39;90.192.0.0&#39;,&#39;90.199.255.255&#39;,&#39;BskyB Broadband&#39;,&#39;United Kingdom&#39;,&#39;uk.gif&#39;),(136,&#39;86.128.0.0&#39;,&#39;86.135.255.255&#39;,&#39;BT Braodband&#39;,&#39;United Kingdom&#39;,&#39;uk.gif&#39;),(137,&#39;217.42.0.0&#39;,&#39;217.44.255.255&#39;,&#39;BT Braodband&#39;,&#39;United Kingdom&#39;,&#39;uk.gif&#39;),(138,&#39;86.136.0.0&#39;,&#39;86.141.255.255&#39;,&#39;BT Central Plus&#39;,&#39;United Kingdom&#39;,&#39;uk.gif&#39;),(139,&#39;86.148.0.0&#39;,&#39;86.159.255.255&#39;,&#39;BT Central Plus&#39;,&#39;United Kingdom&#39;,&#39;uk.gif&#39;),(140,&#39;81.154.0.0&#39;,&#39;81.157.255.255&#39;,&#39;BT Central Plus&#39;,&#39;United Kingdom&#39;,&#39;uk.gif&#39;),(141,&#39;86.142.0.0&#39;,&#39;86.144.255.255&#39;,&#39;BT Central Plus&#39;,&#39;United Kingdom&#39;,&#39;uk.gif&#39;),(142,&#39;81.152.0.0&#39;,&#39;81.152.250.255&#39;,&#39;BT Central Plus&#39;,&#39;United Kingdom&#39;,&#39;uk.gif&#39;),(143,&#39;194.72.238.0&#39;,&#39;194.72.238.255&#39;,&#39;BT Net&#39;,&#39;United Kingdom&#39;,&#39;uk.gif&#39;),(144,&#39;82.108.65.96&#39;,&#39;82.108.65.127&#39;,&#39;Conventry University&#39;,&#39;United Kingdom&#39;,&#39;uk.gif&#39;),(145,&#39;217.171.128.0&#39;,&#39;217.171.143.255&#39;,&#39;Hutchison 3G&#39;,&#39;United Kingdom&#39;,&#39;uk.gif&#39;),(146,&#39;212.9.19.192&#39;,&#39;212.9.19.207&#39;,&#39;Jersey Telecom Infra&#39;,&#39;United Kingdom&#39;,&#39;uk.gif&#39;),(147,&#39;213.52.216.192&#39;,&#39;213.52.216.197&#39;,&#39;London Novarra&#39;,&#39;United Kingdom&#39;,&#39;uk.gif&#39;),(148,&#39;86.12.224.0&#39;,&#39;86.12.255.255&#39;,&#39;Ntl&#39;,&#39;United Kingdom&#39;,&#39;uk.gif&#39;),(149,&#39;82.0.0.0&#39;,&#39;82.31.255.255&#39;,&#39;Ntl&#39;,&#39;United Kingdom&#39;,&#39;uk.gif&#39;),(150,&#39;80.7.112.0&#39;,&#39;80.7.127.255&#39;,&#39;Ntl&#39;,&#39;United Kingdom&#39;,&#39;uk.gif&#39;),(151,&#39;193.113.200.0&#39;,&#39;193.113.200.255&#39;,&#39;o2&#39;,&#39;United Kingdom&#39;,&#39;uk.gif&#39;),(152,&#39;82.132.192.0&#39;,&#39;82.132.193.255&#39;,&#39;o2&#39;,&#39;United Kingdom&#39;,&#39;uk.gif&#39;),(153,&#39;193.35.128.0&#39;,&#39;193.35.143.255&#39;,&#39;Orange&#39;,&#39;United Kingdom&#39;,&#39;uk.gif&#39;),(154,&#39;85.90.235.0&#39;,&#39;85.90.235.63&#39;,&#39;Telecity redbus Novarra&#39;,&#39;United Kingdom&#39;,&#39;uk.gif&#39;),(155,&#39;80.192.13.0&#39;,&#39;80.192.13.255&#39;,&#39;Telewest&#39;,&#39;United Kingdom&#39;,&#39;uk.gif&#39;),(156,&#39;82.37.232.0&#39;,&#39;82.37.239.255&#39;,&#39;Telewest&#39;,&#39;United Kingdom&#39;,&#39;uk.gif&#39;),(157,&#39;149.254.0.0&#39;,&#39;149.254.255.255&#39;,&#39;T-Mobile&#39;,&#39;United Kingdom&#39;,&#39;uk.gif&#39;),(158,&#39;212.183.128.0&#39;,&#39;212.183.144.255&#39;,&#39;Vodaphone&#39;,&#39;United Kingdom&#39;,&#39;uk.gif&#39;),(159,&#39;205.142.16.0&#39;,&#39;205.142.19.255&#39;,&#39;Alltel&#39;,&#39;United States&#39;,&#39;us.gif&#39;),(160,&#39;64.12.0.0&#39;,&#39;64.12.255.255&#39;,&#39;Aol&#39;,&#39;United States&#39;,&#39;us.gif&#39;),(161,&#39;69.224.0.0&#39;,&#39;69.239.255.255&#39;,&#39;AT&T Internet&#39;,&#39;United States&#39;,&#39;us.gif&#39;),(162,&#39;209.103.192.0&#39;,&#39;209.103.223.255&#39;,&#39;Athenet Data Exchange&#39;,&#39;United States&#39;,&#39;us.gif&#39;),(163,&#39;209.183.32.0&#39;,&#39;209.183.63.255&#39;,&#39;Cingular Wireless II&#39;,&#39;United States&#39;,&#39;us.gif&#39;),(164,&#39;98.192.0.0&#39;,&#39;98.227.255.255&#39;,&#39;Comcast Cable Communications&#39;,&#39;United States&#39;,&#39;us.gif&#39;),(165,&#39;64.246.160.0&#39;,&#39;64.246.191.255&#39;,&#39;Compass Communications&#39;,&#39;United States&#39;,&#39;us.gif&#39;),(166,&#39;63.208.0.0&#39;,&#39;63.215.255.255&#39;,&#39;Cricket Communications&#39;,&#39;United States&#39;,&#39;us.gif&#39;),(167,&#39;205.239.0.0&#39;,&#39;205.239.255.255&#39;,&#39;Eds&#39;,&#39;United States&#39;,&#39;us.gif&#39;),(168,&#39;76.0.0.0&#39;,&#39;76.7.255.255&#39;,&#39;Embarq Global&#39;,&#39;United States&#39;,&#39;us.gif&#39;),(169,&#39;216.68.0.0&#39;,&#39;216.68.255.255&#39;,&#39;Fuse Internet&#39;,&#39;United States&#39;,&#39;us.gif&#39;),(170,&#39;69.65.0.0&#39;,&#39;69.65.63.255&#39;,&#39;Gigenet&#39;,&#39;United States&#39;,&#39;us.gif&#39;),(171,&#39;64.208.0.0&#39;,&#39;64.209.127.255&#39;,&#39;Global Crossing&#39;,&#39;United States&#39;,&#39;us.gif&#39;),(172,&#39;72.29.64.0&#39;,&#39;72.29.95.255&#39;,&#39;Host Dime&#39;,&#39;United States&#39;,&#39;us.gif&#39;),(173,&#39;64.152.0.0&#39;,&#39;64.159.255.255&#39;,&#39;Level 3 Communications&#39;,&#39;United States&#39;,&#39;us.gif&#39;),(174,&#39;65.88.0.0&#39;,&#39;65.91.255.255&#39;,&#39;Level 3 Communications&#39;,&#39;United States&#39;,&#39;us.gif&#39;),(175,&#39;65.192.0.0&#39;,&#39;65.223.255.255&#39;,&#39;Mci Communications&#39;,&#39;United States&#39;,&#39;us.gif&#39;),(176,&#39;66.232.96.0&#39;,&#39;66.232.127.255&#39;,&#39;Noc4hosts Inc&#39;,&#39;United States&#39;,&#39;us.gif&#39;),(177,&#39;67.80.0.0&#39;,&#39;67.87.255.255&#39;,&#39;Optimum Online&#39;,&#39;United States&#39;,&#39;us.gif&#39;),(178,&#39;75.126.0.0&#39;,&#39;75.126.255.255&#39;,&#39;SoftLayer&#39;,&#39;United States&#39;,&#39;us.gif&#39;),(179,&#39;67.228.0.0&#39;,&#39;67.228.255.255&#39;,&#39;SoftLayer&#39;,&#39;United States&#39;,&#39;us.gif&#39;),(180,&#39;68.24.0.0&#39;,&#39;68.31.255.255&#39;,&#39;Sprint&#39;,&#39;United States&#39;,&#39;us.gif&#39;),(181,&#39;70.0.0.0&#39;,&#39;70.14.255.255&#39;,&#39;Sprint Wireless&#39;,&#39;United States&#39;,&#39;us.gif&#39;),(182,&#39;66.94.0.0&#39;,&#39;66.94.31.255&#39;,&#39;T Mobile&#39;,&#39;United States&#39;,&#39;us.gif&#39;),(183,&#39;200.40.246.0&#39;,&#39;200.40.246.26&#39;,&#39;Ancel&#39;,&#39;Uruguay&#39;,&#39;ur.gif&#39;),(184,&#39;81.199.96.0&#39;,&#39;81.199.103.255&#39;,&#39;Copper Net&#39;,&#39;Zambia&#39;,&#39;zm.gif&#39;);

          Comment


            #6
            how can show flag in my only isp show :sad:
            Failure is not when a girls leaves you, its only when you let her go virgin. heheh!!

            <span style="color:#9ACD32"><span style="font-size:36pt;line-height:100%">BEST MOBILE ADVERTISER</span></span>

            Comment


              #7
              add this in core.php
              Code:
              function getdezIP(){
                  $IP = "";
                  if (isSet($_SERVER)) {
                      if (isSet($_SERVER["HTTP_X_FORWARDED_FOR"])) {
                          $IP = $_SERVER["HTTP_X_FORWARDED_FOR"];
                      } elseif (isSet($_SERVER["HTTP_CLIENT_IP"])) {
                          $IP = $_SERVER["HTTP_CLIENT_IP"];
                      } else {
                          $IP = $_SERVER["REMOTE_ADDR"];
                      }
                  } else {
                      if ( getenv( &#39;HTTP_X_FORWARDED_FOR&#39; ) ) {
                          $IP = getenv( &#39;HTTP_X_FORWARDED_FOR&#39; );
                      } elseif ( getenv( &#39;HTTP_CLIENT_IP&#39; ) ) {
                          $IP = getenv( &#39;HTTP_CLIENT_IP&#39; );
                      } else {
                          $IP = getenv( &#39;REMOTE_ADDR&#39; );
                      }
                  }
                  if (strstr($IP, &#39;,&#39;)) {
                      $ips = explode(&#39;,&#39;, $IP);
                      $IP = $ips[0];
                  }
              
                  if(empty($IP)) $IP=$_SERVER["REMOTE_ADDR"];
                  else if(strtolower(trim($IP))==&#39;unknown&#39;) $IP=$_SERVER["REMOTE_ADDR"];
                  
                           $numbers = preg_split( "/\./", $IP);
                           $dezip=($numbers[0] * 16777216) + ($numbers[1] * 65536) + ($numbers[2] * 256) + ($numbers[3]);
                return $dezip;
              }
              add this in index.php?action=viewuser
              Code:
              $_dez_ip=getdezIP();
                $q = mysql_query("SELECT `cc`, `network` FROM `mobile_carrier` WHERE `num_min` <= &#39;".$_dez_ip."&#39; ORDER BY `num_min` DESC, `num_max` ASC LIMIT 1") or die("MySQL Error: ".mysql_error());  
                $info = mysql_fetch_array($q);
                $cc=$info[0];
                echo &#39;Carrier: &#39;.$info[1].&#39;
              &#39;;
                echo "
              ";
                include("countries.php");
                echo &#39;Country: &#39;.$countries[$cc].&#39; [img]../flags/&#39;.strtolower($cc).&#39;.png[/img]
              &#39;;
              and find countries.php n sql mobile_carrier through use search button hehe dis code worked on my site :D

              Comment


                #8
                i cannot find countries.php and is this coding for rw?
                Failure is not when a girls leaves you, its only when you let her go virgin. heheh!!

                <span style="color:#9ACD32"><span style="font-size:36pt;line-height:100%">BEST MOBILE ADVERTISER</span></span>

                Comment


                  #9
                  lol it showing my ip and country in user profile corefunction not ok
                  Failure is not when a girls leaves you, its only when you let her go virgin. heheh!!

                  <span style="color:#9ACD32"><span style="font-size:36pt;line-height:100%">BEST MOBILE ADVERTISER</span></span>

                  Comment


                    #10
                    what a boring topic

                    Comment


                      #11
                      hehe try to change it i did myself :D

                      Comment


                        #12
                        faggit topic closed
                        Failure is not when a girls leaves you, its only when you let her go virgin. heheh!!

                        <span style="color:#9ACD32"><span style="font-size:36pt;line-height:100%">BEST MOBILE ADVERTISER</span></span>

                        Comment


                          #13
                          heres your sql for that


                          CREATE TABLE `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=101 ;

                          --
                          -- Dumping data for table `network`
                          --

                          INSERT INTO `network` (`id`, `subone`, `subtwo`, `isp`, `country`, `flag`) VALUES
                          (1, &#39;149.254.0.0&#39;, &#39;149.254.255.255&#39;, &#39;T-Mobile&#39;, &#39;United Kingdom&#39;, &#39;uk.gif&#39;),
                          (2, &#39;196.11.239.0&#39;, &#39;196.11.246.255&#39;, &#39;MTN&#39;, &#39;South Africa&#39;, &#39;za.gif&#39;),
                          (3, &#39;59.88.0.0&#39;, &#39;59.99.255.255&#39;, &#39;BSNLNET&#39;, &#39;India&#39;, &#39;in.gif&#39;),
                          (4, &#39;218.248.0.0&#39;, &#39;218.248.255.255&#39;, &#39;BSNLNET&#39;, &#39;India&#39;, &#39;in.gif&#39;),
                          (5, &#39;196.200.0.0&#39;, &#39;196.207.255.255&#39;, &#39;Vodacom&#39;, &#39;South Africa&#39;, &#39;za.gif&#39;),
                          (6, &#39;203.145.131.0&#39;, &#39;203.145.131.255&#39;, &#39;Bharti Cellular&#39;, &#39;India&#39;, &#39;in.gif&#39;),
                          (7, &#39;203.145.128.0&#39;, &#39;203.145.128.15&#39;, &#39;Bharti Cellular&#39;, &#39;India&#39;, &#39;in.gif&#39;),
                          (8, &#39;203.145.188.128&#39;, &#39;203.145.188.135&#39;, &#39;Bharti Cellular&#39;, &#39;India&#39;, &#39;in.gif&#39;),
                          (9, &#39;202.56.231.112&#39;, &#39;202.56.231.127&#39;, &#39;Bharti Cellular&#39;, &#39;India&#39;, &#39;in.gif&#39;),
                          (10, &#39;203.145.159.32&#39;, &#39;203.145.159.47&#39;, &#39;Bharti Cellular&#39;, &#39;India&#39;, &#39;in.gif&#39;),



                          working greately!!!!!!!!!!!!!!!!!!!!!!!!!!
                          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


                            #14
                            Code:
                            $uipadd = mysql_fetch_array(mysql_query("SELECT ipadd FROM ibwf_users WHERE id=&#39;".$who."&#39;"))
                            echo "ISP:".network($uipadd[0],1);
                            use this code

                            Comment


                              #15
                              Guys help i follow the instruction posted here but it doesn&#39;t show ISP and FLAGS .. N0se bleed ayw lumabas..

                              Comment

                              Working...
                              X