Changes between Version 5 and Version 6 of ip2c


Ignore:
Timestamp:
Oct 24, 2006, 9:20:25 PM (15 years ago)
Author:
omry
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ip2c

    v5 v6  
    11= IP2C =
    22IP2C is a project that provide IP to country resolution using a binary file.[[BR]]
    3 The binary file is compiled from [http://ip-to-country.webhosting.info/ ip-to-country] free database.
     3The binary file is compiled from [http://ip-to-country.webhosting.info/ ip-to-country] free database.[[BR]]
     4Supported languages:[[BR]]
     5 * Java
     6 * PHP (Soon)
     7
    48
    59== License ==
    610IP2C is licensed under GPL2, if you would like to use it in a non-gpl application please [wiki:Contact] me to obtain a non-gpl license.
    711
    8 == Binary file compiler ==
    9 The binary file compiler is a small java application that converts the CSV file to the binary format.[[BR]]
    10 Usage: java net.firestats.ip2c.IP2CountryCompiler input.cvs output.bin.[[BR]]
    11 the resulting binary file is very compact, a 3.5mb CSV file results in an 467k binary file.
    12 
    13 == IP2Country resolver ==
    14 usage example:[[BR]]
    15 java net.firestats.ip2c.IP2Country 85.64.225.159[[BR]]
    16 PHP class coming soon.
     12== Usage ==
     13To resolve an IP address:[[BR]]
     14'''java -jar ip2c.jar ip-address'''[[BR]]
     15Output format:[[BR]]
     16if not found:[[BR]]
     17UNKNOWN[[BR]]
     18[[BR]]
     19if found:[[BR]]
     202C 3C NAME[[BR]]
     21[[BR]]
     22Example:[[BR]]
     23'''java -jar ip2c.jar 85.64.225.159'''[[BR]]
     24Outputs:[[BR]]
     25IL ISR ISRAEL[[BR]]
     26[[BR]]
     27To build binary file from CSV file:[[BR]]
     28'''java -jar ip2c csv_file bin_file'''[[BR]]
    1729
    1830== Download ==
    19 At the moment, only svn download is available:[[BR]]
    20 to check out the latest code, run[[BR]]
    21 '''svn co http://firefang.net/svn/firestats/trunk/ip2c/'''
     31[http://firefang.net/projects/firestats/browser/trunk/ip2c/release/ip2c-1.0.zip?format=raw ip2c 1.0]
    2232
    2333