IP2Location IP Address ISAPI Filter

22
Developed by Hexasoft Development Sdn. Bhd. Copyright © 2001-2008 IP2Location.com. All Rights Reserved. Visit our Web site at http://www.ip2location.com ~ Bringing Geography to the Internet ~

description

IP2Location ISAPI Filter is an Internet Server Application Programming Interface (ISAPI) plug-in that can be used with any web server running IIS, which enables you to discover in real-time, where your web visitors are coming from by IP address. You can determine what country they are by IP address. IP2Location ISAPI Filter used server variable dynamically tailor the content of your site based on your visitors country, region, city, latitude, longitude, ZIP code, ISP, domain name and so on. This ISAPI Filter is using a fast and self-contained lookup engine. No remote query or database connection required. Please visit http://www.ip2location.com/ip2location-isapi-filter.aspx for more information.

Transcript of IP2Location IP Address ISAPI Filter

Page 1: IP2Location IP Address ISAPI Filter

Developed by Hexasoft Development Sdn. Bhd.

Copyright © 2001-2008 IP2Location.com. All Rights Reserved.

Visit our Web site athttp://www.ip2location.com

~ Bringing Geography to the Internet ~

Page 2: IP2Location IP Address ISAPI Filter

INTRODUCTIONIP2Location™ ISAPI Filter is an Internet Server Application Programming Interface (ISAPI) plug-in that can be used with any web server running IIS, which enables you to discover in real-time, where your web visitors are coming from by IP address. You can determine what country they are by IP address. IP2LocationTM ISAPI Filter used server variable dynamically tailor the content of your site based on your visitors country, region, city, latitude, longitude, ZIP code, ISP, domain name and so on. This ISAPI Filter is using a fast and self-contained lookup engine. No remote query or database connection required.

Developers use this ISAPI Filter for projects related to:

Display native language and currency Redirect based on country Reduce credit card fraud Web log stats and analysis Auto-selection of country on forms Filter access from countries you do not do business with Geo-targeting for increased sales and click-through Hide content from visitors from specific countries

IP2Location™ ISAPI Filter is written for any web server running IIS and optimized for Windows® operating system performance.

Copyright © 2001-2008 Hexasoft Development Sdn. Bhd. All Rights Reserved.

http://www.ip2location.com

- 1 -

Gets IP InformationIP2Location ISAPI Filter makes it easy to collect IP Information from everyone visiting your web site. Such as country, region or state, city, latitude, longitude, US zip code, time zone, ISP, domain name and net speed.

Instantly Redirect Visitors based on their CountryIP2Location ISAPI Filter includes a feature called Redirection Filters that allows website redirection based on the website visitor's country location.

Support for Microsoft IIS 4, 5.X, & 6 on Microsoft Windows NT/2000/XP/.NETIP2Location ISAPI Filter works on all Windows platforms that support IIS and ISAPI filter plug-in. It works with the latest versions of Microsoft IIS and ensures compatibility with older versions of Microsoft IIS as well.

Standalone GUI InterfaceIP2Location ISAPI Filter comes with a standalone GUI configuration tool that allows you to configure all the settings. It's easy to use and has support for simple migration of settings from one server to another.

LoggingIP2Location ISAPI Filter includes detailed messages about what is happening behind the scenes and gives you information that tells you exactly what IP2Location ISAPI Filter is doing for you.

Compatible With All Browsers

IP2Location™ ISAPI Filter Features

Page 3: IP2Location IP Address ISAPI Filter
Page 4: IP2Location IP Address ISAPI Filter

Minimum Configuration Requirements

Copyright © 2001-2008 Hexasoft Development Sdn. Bhd. All Rights Reserved.

http://www.ip2location.com

Scenario CPU Required RAM RequiredClient Pentium 90 MHz* 32 MB**Server Pentium 133 MHz* 128 MB**

* Or the minimum CPU required running the operating system, whichever is higher.

** Or the minimum RAM required running the operating system, whichever is higher.

Quick Start Guide

In this document, you will go through these basic steps to use IP2Location™ ISAPI Filter:

1. Download and installing IP2Location™ ISAPI Filter.2. Configuring IIS Using ISAPI Filter. 3. Purchase license to remove 30-day demo version.4. Update IP2Location™ database.

Note: For demo version, you will have 30-day trial period. You may register to remove 30-days trial period.

Note: Please visit http://www.ip2location.com for online order.

1. DOWNLOAD AND INSTALLING IP2LOCATIONTM ISAPI FILTER

- 2 -

SYSTEM REQUIREMENTIP2Location™ ISAPI Filter has been developed to run exclusively under any IIS machines with support for HTML, ASP, ASP.NET, PHP, Perl, Cold fusion and CGI. This ISAPI Filter required a local IP2Location™ database for lookup purpose.

Minimum Platform Requirements

Microsoft® Windows 95 Microsoft® Windows 98 Microsoft® Windows 98 Second Edition Microsoft® Windows Millennium Edition

(Windows Me) Microsoft® Windows NT 4 (Workstation or

Server) with Service Pack 6a

* All Platforms must at least support IIS 4 or latest.

Microsoft® Windows 2000 (Professional, Server, or Advanced Server) with the latest Windows service pack and critical updates available from the Microsoft Security Web site.

Microsoft® Windows XP (Home or Professional)

Microsoft® Windows Server 2003 family

1.1. Download Setup FilePlease use the following URL to download the latest IP2Location™ ISAPI Filter together with sample database.

http://www.ip2location.net/download/IP2LocationISAPIFilter.ZIP

Page 5: IP2Location IP Address ISAPI Filter

Copyright © 2001-2008 Hexasoft Development Sdn. Bhd. All Rights Reserved.

http://www.ip2location.com

4. Select install to every user or current user. After selected click next.

- 3 -

1.2. Component InstallationInstalling the IP2Location™ ISAPI Filter system is very easy. You just need to execute the “Setup.exe”.

General steps in installing IP2Location™ ISAPI Filter.

1. Unzip the “IP2LocationISAPIFilter.ZIP” into a temporary directory.2. Execute the “Setup.exe”.3. Click Next.

Page 6: IP2Location IP Address ISAPI Filter

Copyright © 2001-2008 Hexasoft Development Sdn. Bhd. All Rights Reserved.

http://www.ip2location.com

5. Click Next

6. Check whether you wish to create a shortcut at desktop, Click Next.

- 4 -

Page 7: IP2Location IP Address ISAPI Filter

Copyright © 2001-2008 Hexasoft Development Sdn. Bhd. All Rights Reserved.

http://www.ip2location.com

8. Click install to start intallation.

- 5 -

7. Click finish to complete the installation.

Page 8: IP2Location IP Address ISAPI Filter

Copyright © 2001-2008 Hexasoft Development Sdn. Bhd. All Rights Reserved.

http://www.ip2location.comhttp://www.ip2location.com

2.1 Folders and Files Structure

You should found the following folders and files in the installation directory. The default installation directory is C:\Program Files\IP2Location ISAPI\.

/samples/asp//samples/vbnet//samples/c#/ /samples/php//database/IP-COUNTRY-SAMPLE.BINIP2LocationISAPI.dllIP2LocationISAPIConfig.exeMyConfig.iniLicense_Agreement.txtIP2Location_ISAPI_Filter.pdf

2.2 Component Testing using WebForm

Please copy the sample to a web directory that has configured to run web scripts. Then run these samples using your browser from local web server.

Sample WebForm Written in ASP/samples/webform/asp/

Sample WebForm Written in VB.NET/samples/webform/vbnet/

Sample WebForm Written in C#/samples/webform/c#/

Sample WebForm Written in PHP/samples/webform/PHP/

2. IMPLEMENTING IP2LOCATIONTM ISAPI Filter

- 6 -

3.1 ISAPI Filter Configuration

Configuring IIS Using IP2Location ISAPI1. Run IP2Location ISAPI.2. Select Basic Configuration Tab.3. Click Add “ISAPI to Web Server” button.4. Click “Yes” to restart IIS.

Configuring IIS Manually1. Start -> Control Panel -> Administrator Tools -> Internet Services Manager.2. Right-click on the server that ISAPI Filter will be installed on and select Properties. 3. Select the IP2Location™ ISAPI Filters tab. 4. Click on the "Add" button to add IP2LocationISAPI to the list of filters IIS uses. 5. In the Filter Properties dialog enter the following information: 6. Under Filter Name, enter "IP2LocationISAPI".7. Enter the location of the IP2LocationISAPI.dll file. (Note: The default path of

IP2LocationISAPI.dll (C:\Program Files\IP2LocationISAPI\IP2LocationISAPI.dll)8. Click "OK" until you return to the Internet Information Services configuration tools. 9. Right-click on the server and select Restart IIS. When the restart is complete, IIS is

ready to work with IP2LocationISAPI.

3. TESTING IP2LOCATIONTM ISAPI FILTER

Page 9: IP2Location IP Address ISAPI Filter

Copyright © 2001-2008 Hexasoft Development Sdn. Bhd. All Rights Reserved.

[

http://www.ip2location.com(

- 7 -

3.2 User Interface All settings for IP2Location™ ISAPI Filter can be configured by IP2Location™ ISAPI

Filter Control Panel. The control panel has several tabs which are Basic Configuration, Advanced Configuration, Redirection, Domain Filter and Backup/Restore Management. All the settings allow you to meet the needs of any web server.

3.3 Basic Configuration

Internet Information Services (IIS) Setup The “Add to Web Server” button allows you to add IP2Location™ ISAPI Filter

to IIS automatically. The “Remove from Web Server” button allows you to remove IP2Location™

ISAPI Filter from IIS.

Priority Choose priority of IP2Location ISAPI Filter running by IIS.

Licensing You may obtain the license key from our order page. Fill out the online form and

choose the correct number of licenses. Once your order has been approved, you will receive your license key immediately through email.

Copy and paste the license key into License Key field and click “Verify” button. If the correct license key entered. IP2Location™ ISAPI Filter will remove 30-days Trial Period. Please visit http://www.ip2location.com for online order.

3.4 Advanced Configuration

Page ExtensionsPage Extensions are important resource for IP2Location™ ISAPI Filter. The page extensions allow IP2Location™ ISAPI Filter to know which file extensions should get country information for. For example .htm, .html, .asp, .aspx, .php, .pl, .cgi, .exe and so on.

LoggingThis feature allows the generation of log files in the log file directory. The log files contain information on all the operations of IP2Location™ ISAPI Filter during execution. By default, this feature has been turned off.

IP Database DirectoryThis option allows you to select the directory of IP2Location™ .BIN database.

(Default: C:\Program Files\IP2LocationISAPI\Database\IP-COUNTRY-SAMPLE.BIN)

3.5 Redirection

Adding a Redirection FilterClick “Add” button to create a new filter item. The tool will prompt a dialog box. Enter all properties of the item you want to create.

Example 1: Redirect to another page with same domainDomain: www.mydomain.comOriginal URL: /default.aspxCountry: USRedirect To: /us.aspx

Page 10: IP2Location IP Address ISAPI Filter

Copyright © 2001-2008 Hexasoft Development Sdn. Bhd. All Rights Reserved.

http://www.ip2location.com

- 8 -

Example 2: Redirect to another domainDomain: www.mydomain.comOriginal URL: /default.aspxCountry: MYRedirect To: http://www.mydomain.com.myEditing Redirection FilterTo edit an item that has already been added, select the item in the list and click the "Edit" button. The Properties dialog will appear with the item's information already entered. Change the information that needs changing and click "OK" button to modify the item, or click “Cancel” button to discard any changes.

Removing Redirection FilterTo remove an item from the list of active filters, select the filter and click the "Remove" button.

Clear All Redirection FilterUse the "Clear All" button to clear all of the filters from the list.

3.6 Domain Filters

Adding a Domain FilterClick “Add” button to create a new allow domain filter item. The tool will prompt user a dialog box. Enter a domain name you want to be supported.

Example: www.mydomain.com

Editing Domain FilterSelect the item you want to edit. Click “Edit” button, a dialog box prompt. Change the domain name you want. Click “Apply” button to modify the item, or click “Cancel” button to discard change.

Removing Domain FilterTo remove an item from the list of domain filters, select the domain and click the "Remove" button.

Clear All Domain FilterUse the "Clear All" button to clear all of the allow domain from the list.

3.7 Backup/Restore Management

Restore configuration fileYou can restore your previous configuration from existed configuration file.

Backup configuration fileSave current configuration to be use on other machine or keep as backup.

Page 11: IP2Location IP Address ISAPI Filter

Copyright © 2001-2008 Hexasoft Development Sdn. Bhd. All Rights Reserved.

http://www.ip2location.com

- 9 -

3.8 IP2Location™ Server Variable Reference

Parameter DescriptionHTTP_X_COUNTRY_SHORT Two-character country code based on ISO 3166.HTTP_X_COUNTRY_LONG Country name based on ISO 3166.HTTP_X_COUNTRY_REGION Region or state name.HTTP_X_COUNTRY_CITY City name.HTTP_X_COUNTRY_LATITUDE City latitude.HTTP_X_COUNTRY_LONGITUDE City longitude.HTTP_X_COUNTRY_ZIPCODE US ZIP Code.HTTP_X_COUNTRY_TIMEZONE UTC time zone.HTTP_X_COUNTRY_ISP Internet Service Provider or company's name.HTTP_X_COUNTRY_DOMAIN Internet domain name associated to IP address

range.HTTP_X_COUNTRY_NETSPEED Internet connection type. DIAL = dial up, DSL =

broadband/cable, COMP = company/T1

3.9 Sample Codes in ASP

<html><head>

<title>IP2Location ISAPI Filter</title></head><body>

<%=Request.ServerVariables("REMOTE_ADDR") & "<br>"%><%=Request.ServerVariables("HTTP_X_COUNTRY_SHORT") & "<br>"%><%=Request.ServerVariables("HTTP_X_COUNTRY_LONG") & "<br>"%><%=Request.ServerVariables("HTTP_X_COUNTRY_REGION") & "<br>"%><%=Request.ServerVariables("HTTP_X_COUNTRY_CITY") & "<br>"%><%=Request.ServerVariables("HTTP_X_COUNTRY_LATITUDE") & "<br>"%><%=Request.ServerVariables("HTTP_X_COUNTRY_LONGITUDE") & "<br>"%><%=Request.ServerVariables("HTTP_X_COUNTRY_ZIPCODE") & "<br>"%><%=Request.ServerVariables("HTTP_X_COUNTRY_TIMEZONE") & "<br>"%><%=Request.ServerVariables("HTTP_X_COUNTRY_ISP") & "<br>"%><%=Request.ServerVariables("HTTP_X_COUNTRY_DOMAIN") & "<br>"%><%=Request.ServerVariables("HTTP_X_COUNTRY_NETSPEED") & "<br>"%>

</body></html>

3.10 Sample Codes in ASP.NET (VB)

Private Sub ShowServerVariable()Response.Write(Request.ServerVariables("REMOTE_ADDR") & "<br>")Response.Write(Request.ServerVariables("HTTP_X_COUNTRY_SHORT") & "<br>")Response.Write(Request.ServerVariables("HTTP_X_COUNTRY_LONG") & "<br>")Response.Write(Request.ServerVariables("HTTP_X_COUNTRY_REGION") & "<br>")Response.Write(Request.ServerVariables("HTTP_X_COUNTRY_CITY") & "<br>")Response.Write(Request.ServerVariables("HTTP_X_COUNTRY_LATITUDE") & "<br>")Response.Write(Request.ServerVariables("HTTP_X_COUNTRY_LONGITUDE") & "<br>")Response.Write(Request.ServerVariables("HTTP_X_COUNTRY_ZIPCODE") & "<br>")Response.Write(Request.ServerVariables("HTTP_X_COUNTRY_TIMEZONE") & "<br>")Response.Write(Request.ServerVariables("HTTP_X_COUNTRY_ISP") & "<br>")Response.Write(Request.ServerVariables("HTTP_X_COUNTRY_DOMAIN") & "<br>")Response.Write(Request.ServerVariables("HTTP_X_COUNTRY_NETSPEED") & "<br>")

End Sub

Page 12: IP2Location IP Address ISAPI Filter

Copyright © 2001-2008 Hexasoft Development Sdn. Bhd. All Rights Reserved.

http://www.ip2location.com

- 10 -

3.11 Sample Codes in ASP.NET (C#)

private void ShowServerVariable(){

Response.Write(Request.ServerVariables["REMOTE_ADDR"] + "\n");Response.Write(Request.ServerVariables["HTTP_X_COUNTRY_SHORT"] + "\n");Response.Write(Request.ServerVariables["HTTP_X_COUNTRY_LONG"] + "\n");Response.Write(Request.ServerVariables["HTTP_X_COUNTRY_REGION"] + "\n");Response.Write(Request.ServerVariables["HTTP_X_COUNTRY_CITY"] + "\n");Response.Write(Request.ServerVariables["HTTP_X_COUNTRY_LATITUDE"] + "\n");Response.Write(Request.ServerVariables["HTTP_X_COUNTRY_LONGITUDE"] + "\n");Response.Write(Request.ServerVariables["HTTP_X_COUNTRY_ZIPCODE"] + "\n");Response.Write(Request.ServerVariables["HTTP_X_COUNTRY_TIMEZONE"] + "\n");Response.Write(Request.ServerVariables["HTTP_X_COUNTRY_ISP"] + "\n");Response.Write(Request.ServerVariables["HTTP_X_COUNTRY_DOMAIN"] + "\n");Response.Write(Request.ServerVariables["HTTP_X_COUNTRY_NETSPEED"] + "\n");

}

3.12 Sample Codes in PHP

<html><head>

<title>IP2Location ISAPI Filter</title></head><body>

<?phpEcho $_SERVER['REMOTE_ADDR'] . "<br>";Echo $_SERVER['HTTP_X_COUNTRY_SHORT'] . "<br>";Echo $_SERVER['HTTP_X_COUNTRY_LONG'] . "<br>";Echo $_SERVER['HTTP_X_COUNTRY_REGION'] . "<br>";Echo $_SERVER['HTTP_X_COUNTRY_CITY'] . "<br>";Echo $_SERVER['HTTP_X_COUNTRY_LATITUDE'] . "<br>";Echo $_SERVER['HTTP_X_COUNTRY_LONGITUDE'] . "<br>";Echo $_SERVER['HTTP_X_COUNTRY_ZIPCODE'] . "<br>";Echo $_SERVER['HTTP_X_COUNTRY_TIMEZONE'] . "<br>";Echo $_SERVER['HTTP_X_COUNTRY_ISP'] . "<br>";Echo $_SERVER['HTTP_X_COUNTRY_DOMAIN'] . "<br>";Echo $_SERVER['HTTP_X_COUNTRY_NETSPEED'] . "<br>";

?></body>

</html>

Page 13: IP2Location IP Address ISAPI Filter

Copyright © 2001-2008 Hexasoft Development Sdn. Bhd. All Rights Reserved.

http://www.ip2location.com

4. Purchase IP2LOCATIONTM ISAPI Filter

4.1 License Agreement

A license is required for each machine the product is installed on, including development or staging machines. Please refer to the end of this document for the complete license agreement.

4.2 Purchase Instructions

Proceed to our order page. Fill out the online form and choose the correct number of licenses. Once your order has been approved, you will receive your license key immediately through email. Execute IP2Lcation™ ISAPI Filter configuration application copy and paste the license key to remove the 30-day trial period.

Please visit http://www.ip2location.com for online order.

- 11 -

5. UPDATE ISAPI FILTER DATABSE

5.1 Update ISAPI Filter Internal Database

The IP2Location™ ISAPI Filter depends to an internal database for lookup purpose. All users with valid license will be allowed to download the monthly updates from the IP2Location™ download area during subscription period. To update, users need to replace the BIN database with the latest one from the download area. The ISAPI Filter will use the latest database once the local copy has been updated. Please refer to the welcome email for more information regarding download updates and account information.

Page 14: IP2Location IP Address ISAPI Filter

Copyright © 2001-2008 Hexasoft Development Sdn. Bhd. All Rights Reserved.

http://www.ip2location.com

6. UPDATE OR UNINSTALL IP2Location ISAPI Filter

6.1 Upgrade IP2LocationTM ISAPI FilterTo upgrade a new version of IP2Location™ ISAPI Filter, you need to download and execute the new setup file.

6.2 Update DatabaseTo update the latest database, you can just replace the existing database binary file at C:\Programs Files\IP2Location ISAPI\.

6.3 Uninstall ComponentTo uninstall IP2Location™ ISAPI Filter, you need to remove from add/remove programs

Start > Control Panel > Add/Remove Programs > Select IP2Location ISAPI > Click “Remove” button

Click Yes to confirm uninstall, click No to cancel uninstall.

- 12 -

Page 15: IP2Location IP Address ISAPI Filter

Copyright © 2001-2008 Hexasoft Development Sdn. Bhd. All Rights Reserved.

http://www.ip2location.com

This table lists all valid ISO3166 two characters country codes that returns from IP2Location™ ISAPI Filter and explain the full country names for these country codes.

Country Code Country NameAD ANDORRA AE UNITED ARAB EMIRATES AF AFGHANISTAN AG ANTIGUA AND BARBUDA AI ANGUILLA AL ALBANIA AM ARMENIA AN NETHERLANDS ANTILLES AO ANGOLA AP ASIA PACIFIC AQ ANTARCTICA AR ARGENTINA AS AMERICAN SAMOAAT AUSTRIA AU AUSTRALIA AW ARUBA AZ AZERBAIJAN BA BOSNIA AND HERZEGOWINABB BARBADOS BD BANGLADESH BE BELGIUM BF BURKINA FASO BG BULGARIA BH BAHRAIN BI BURUNDI BJ BENIN BM BERMUDA BN BRUNEI DARUSSALAM BO BOLIVIA BR BRAZIL BS BAHAMAS BT BHUTAN BV BOUVET ISLAND BW BOTSWANA BY BELARUS BZ BELIZE CA CANADA CC COCOS (KEELING) ISLANDS CD CONGO, THE DEMOCRATIC REPUBLIC OF THE CF CENTRAL AFRICAN REPUBLIC CG CONGO

APPENDIX I: ISO3166 COUNTRY CODE

- 13 -

Page 16: IP2Location IP Address ISAPI Filter

Copyright © 2001-2008 Hexasoft Development Sdn. Bhd. All Rights Reserved.

http://www.ip2location.com

Country Code Country NameCH SWITZERLAND CI COTE D'IVOIRE CK COOK ISLANDS CL CHILE CM CAMEROON CN CHINA CO COLOMBIA CR COSTA RICA CS CZECHOSLOVAKIA (FORMER) CU CUBA CV CAPE VERDE CX CHRISTMAS ISLAND CY CYPRUS CZ CZECH REPUBLIC DE GERMANY DJ DJIBOUTI DK DENMARK DM DOMINICA DO DOMINICAN REPUBLIC DZ ALGERIA EC ECUADOR EE ESTONIA EG EGYPT EH WESTERN SAHARA ER ERITREA ES SPAIN ET ETHIOPIA EU EUROPEAN UNION FI FINLAND FJ FIJI FK FALKLAND ISLANDS (MALVINAS) FM MICRONESIA, FEDERATED STATES OF FO FAROE ISLANDS FR FRANCE FX FRANCE, METROPOLITAN GA GABON GB GREAT BRITAIN GD GRENADA GE GEORGIA GF FRENCH GUIANA GH GHANA GI GIBRALTAR GL GREENLAND GM GAMBIA GN GUINEA GP GUADELOUPE GQ EQUATORIAL GUINEAGR GREECE

- 14 -

Page 17: IP2Location IP Address ISAPI Filter

Copyright © 2001-2008 Hexasoft Development Sdn. Bhd. All Rights Reserved.

http://www.ip2location.com

Country Code Country NameGS SOUTH GEORGIA & SOUTH SANDWICH ISLANDSGT GUATEMALA GU GUAM GW GUINEA-BISSAU GY GUYANA HK HONG KONG HM HEARD ISLAND AND MCDONALD ISLANDS HN HONDURAS HR CROATIA HT HAITI HU HUNGARY ID INDONESIA IE IRELAND IL ISRAEL IN INDIA IO BRITISH INDIAN OCEAN TERRITORY IQ IRAQ IR IRAN, ISLAMIC REPUBLIC OF IS ICELAND IT ITALY JM JAMAICA JO JORDAN JP JAPAN KE KENYA KG KYRGYZSTAN KH CAMBODIA KI KIRIBATI KM COMOROS KN SAINT KITTS AND NEVIS KP KOREA, DEMOCRATIC PEOPLE'S REPUBLIC OF KR KOREA, REPUBLIC OF KW KUWAIT KY CAYMAN ISLANDS KZ KAZAKSTAN LA LAO PEOPLE'S DEMOCRATIC REPUBLIC LB LEBANON LC SAINT LUCIA LI LIECHTENSTEIN LK SRI LANKA LR LIBERIA LS LESOTHO LT LITHUANIA LU LUXEMBOURG LV LATVIA LY LIBYAN ARAB JAMAHIRIYA MA MOROCCO MC MONACO MD MOLDOVA, REPUBLIC OF

- 15 -

Page 18: IP2Location IP Address ISAPI Filter

Copyright © 2001-2008 Hexasoft Development Sdn. Bhd. All Rights Reserved.

http://www.ip2location.com

Country Code Country NameMG MADAGASCAR MH MARSHALL ISLANDSMK MACEDONIA, THE FORMER YUGOSLAVML MALI MM MYANMAR MN MONGOLIA MO MACAU MP NORTHERN MARIANA ISLANDS MQ MARTINIQUE MR MAURITANIA MS MONTSERRAT MT MALTA MU MAURITIUS MV MALDIVES MW MALAWI MX MEXICO MY MALAYSIA MZ MOZAMBIQUE NA NAMIBIA NC NEW CALEDONIANE NIGER NF NORFOLK ISLAND NG NIGERIA NI NICARAGUA NL NETHERLANDS NO NORWAY NP NEPAL NR NAURU NU NIUE NZ NEW ZEALAND OM OMAN PA PANAMA PE PERU PF FRENCH POLYNESIA PG PAPUA NEW GUINEA PH PHILIPPINES PK PAKISTAN PL POLAND PM SAINT PIERRE AND MIQUELON PN PITCAIRN PR PUERTO RICO PS PALESTINIAN TERRITORY, OCCUPIED PT PORTUGAL PW PALAU PY PARAGUAY QA QATAR RE REUNION RO ROMANIA

- 16 -

Page 19: IP2Location IP Address ISAPI Filter

Copyright © 2001-2008 Hexasoft Development Sdn. Bhd. All Rights Reserved.

http://www.ip2location.com

Country Code Country NameRU RUSSIAN FEDERATION RW RWANDA SA SAUDI ARABIA SB SOLOMON ISLANDS SC SEYCHELLES SD SUDAN SE SWEDEN SG SINGAPORE SH SAINT HELENASI SLOVENIA SJ SVALBARD AND JAN MAYEN SK SLOVAKIA SL SIERRA LEONE SM SAN MARINOSN SENEGAL SO SOMALIA SR SURINAME ST SAO TOME AND PRINCIPE SU RUSSIAN FEDERATION SV EL SALVADOR SY SYRIAN ARAB REPUBLIC SZ SWAZILAND TC TURKS AND CAICOS ISLANDS TD CHAD TF FRENCH SOUTHERN TERRITORIES TG TOGO TH THAILAND TJ TAJIKISTAN TK TOKELAU TM TURKMENISTAN TN TUNISIA TO TONGA TP EAST TIMOR TR TURKEY TT TRINIDAD AND TOBAGO TV TUVALU TW TAIWAN, PROVINCE OF CHINATZ TANZANIA, UNITED REPUBLIC OFUA UKRAINE UG UGANDA UK UNITED KINGDOMUM UNITED STATES MINOR OUTLYING ISLANDSUS UNITED STATESUY URUGUAY UZ UZBEKISTAN VA HOLY SEE (VATICAN CITY STATE) VC SAINT VINCENT AND THE GRENADINES VE VENEZUELA

- 17 -

Page 20: IP2Location IP Address ISAPI Filter

Copyright © 2001-2008 Hexasoft Development Sdn. Bhd. All Rights Reserved.

http://www.ip2location.com

Country Code Country NameVG VIRGIN ISLANDS, BRITISH VI VIRGIN ISLANDS, U.S. VN VIET NAM VU VANUATU WF WALLIS AND FUTUNA WS SAMOA YE YEMEN YT MAYOTTE YU YUGOSLAVIA ZA SOUTH AFRICAZM ZAMBIA ZW ZIMBABWE

- 18 -

Page 21: IP2Location IP Address ISAPI Filter

Copyright © 2001-2008 Hexasoft Development Sdn. Bhd. All Rights Reserved.

http://www.ip2location.com

IMPORTANT-READ CAREFULLY:This License Agreement is a legal agreement between you (either an individual or a single entity) and Hexasoft Development Sdn. Bhd., owner of IP2Location™ trademark, (“Hexasoft” or “we”) for the Hexasoft developed IP2Location™ ISAPI Filter (hereafter referred to as the SOFTWARE PRODUCT) accompanying this License Agreement, which includes web service routines and data result(s). By exercising your rights to make and use copies of the SOFTWARE PRODUCT, you agree to be bound by the terms of this License Agreement. If you do not agree to the terms of this License Agreement, you may not use the SOFTWARE PRODUCT.

GRANT OF LICENSE.This License Agreement grants the following rights: You are granted the right to use the SOFTWARE PRODUCT files on one computer in the Internet or Local Area Network (“LAN”). You may not use the SOFTWARE PRODUCT files on multiple computers without matching number of licenses.

DESCRIPTION OF LIMITATIONS.You may not reverse engineer except and only to the extent that such activity is expressly permitted by applicable law notwithstanding this limitation. Without prejudice to any other rights, Hexasoft may terminate this License Agreement if you fail to comply with the terms and conditions of this License Agreement. In such event, you must destroy all copies of the SOFTWARE PRODUCT and all of its parts.

COPYRIGHT.All title and copyrights in and to the SOFTWARE PRODUCT and any copies of the SOFTWARE PRODUCT are owned by Hexasoft. The SOFTWARE PRODUCT is protected by copyright laws and international treaty provisions.

NO WARRANTIES.Hexasoft expressly disclaims any warranty for the SOFTWARE PRODUCT. The SOFTWARE PRODUCT and any related documentation is provided "as is" without warranty of any kind, either express or implied, including, without limitation, the implied warranties of merchantability or fitness for a particular purpose. The entire risk arising out of use or performance of the SOFTWARE PRODUCT remains with you.

LIMITATION OF LIABILITY.Hexasoft’s entire liability and your exclusive remedy under this Agreement shall not exceed fifteen dollars (US $15.00).

NO LIABILITY FOR CONSEQUENTIAL DAMAGES.In no event shall Hexasoft nor anyone else who has been involved in the creation, production, or delivery of the SOFTWARE PRODUCT be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or any other pecuniary loss) arising out of the use of or inability to use this Hexasoft product, even if Hexasoft has been advised of the possibility of such damages. Because some states and jurisdictions do not allow the exclusion or limitation of liability for consequential or incidental damages, the above limitation may not apply to you.

IP2LOCATIONTM ISAPI FILTER LICENSE AGREEMENT

- 19 -

Page 22: IP2Location IP Address ISAPI Filter

Copyright © 2001-2008 Hexasoft Development Sdn. Bhd. All Rights Reserved.

http://www.ip2location.com

MISCELLANEOUS“IP2Location” is a registered trademark of Hexasoft Development Sdn. Bhd.“Microsoft” is a registered trademark of Microsoft Corporation.”Windows” is a registered trademark of Microsoft Corporation.All other trademarks are the property of their respective owners.

Copyright © 2007 Hexasoft Development Sdn. Bhd., All Rights Reserved.

Hexasoft Development Sdn. Bhd.1-2-15 Mayang Mall Kompleks,Jalan Mayang Pasir 1,11950 Bayan Baru,Pulau Pinang,Malaysia. Tel: (6)-04-640-2380Fax: (6)-04-640-2381Email: [email protected]

- 20 -