 |
What is the IP2Location web service?
|
 |
Why should I use the
IP2Location web service?
|
 |
How accurate are your
IP2location databases?
|
 |
How do I retrieve a
visitor's IP address using ASP, ASP.NET, C#, VB.NET, PHP, JSP & ColdFusion?
|
 |
Can I test the demo version for
free? |
 |
Can I evaluate a IP2Location web
service prior to purchasing? |
 |
If I am using a free license, can I
receive technical support / help? |
 |
Why should I upgrade from the free
licence version to the full version? |
 |
What happens if I use up all of
the credits allowed under my subscription plan? |
 |
How to subscribe for the IP2Location web
service? |
 |
How to integrate the IP2Location web
service? |
 |
I am behind a proxy. How can I connect to your web service? |
| |
|
| Q: |
What is the IP2Location web service?
|
| A: |
IP2Location web service is a hosted, secure and automated XML
based solution that help you to determine and identify geographical information
of your online visitors in real time. By using this web service, you are able
to know your online visitor's geographical location, such as country, region,
city, latitude, longitude, ISP and domain name using proprietary IP address
lookup database and technology without invading Internet user's privacy.
|
| |
|
| |
|
|
| |
|
| Q: |
Why should I use the IP2Location web service? |
| A: |
IP2Location web service allows you to gain better
understanding about your online visitor by geographical location within a
minute. It can be used for targeted ads, web log statistics, contents
distribution by region for digital rights management and so on. Moreover,
IP2Location web service is integrated via an XML-based web services interface
to any product or platform. Sample codes are provided in various progamming
languages to ease integration. It also provides multiple subscription levels with
different prices based on your business needs.
|
| |
|
| |
|
|
| |
|
| Q: |
How accurate are your IP2location databases? |
| A: |
The IP-Country database has over 99% accurate,
which is higher than any of our competitors. The small number of inaccuracy is
due to dynamic IP address allocation by large ISPs such as AOL and MSN TV.
Due to the fact that AOL uses a network that routes all of the company's Internet traffic
through Reston, Virginia, all IP-based geo-location services, including
IP2Location, are unable to determine the state and city for people who dial
into the AOL network.
|
| |
|
| |
|
|
| Q: |
How do I retrieve a visitor's IP address using ASP,
ASP.NET, C#, VB.NET, PHP, JSP & ColdFusion? |
| A: |
The IP address is available from the web server variable
"REMOTE_ADDR".
ASP without Proxy detection
<%
ipaddress = Request.ServerVariables("REMOTE_ADDR")
%>
ASP with Proxy detection
<%
ipaddress = Request.ServerVariables("HTTP_X_FORWARDED_FOR")
if ipaddress = "" then
ipaddress =
Request.ServerVariables("REMOTE_ADDR")
end if
%>
PHP without Proxy detection
<?
$ipaddress = getenv(REMOTE_ADDR);
?>
PHP with Proxy detection
<?
if (getenv(HTTP_X_FORWARDED_FOR)) {
$ipaddress =
getenv(HTTP_X_FORWARDED_FOR);
} else {
$ipaddress = getenv(REMOTE_ADDR);
}
?>
JSP without Proxy detection
<%
String ipaddress = request.getRemoteAddr();
%>
JSP with Proxy detection
<%
if (request.getHeader("HTTP_X_FORWARDED_FOR") == null) {
String ipaddress =
request.getRemoteAddr();
} else {
String ipaddress =
request.getHeader("HTTP_X_FORWARDED_FOR");
}
%>
ColdFusion without Proxy detection
<CFCOMPONENT>
<CFSET ipaddress="#CGI.Remote_Addr#">
</CFCOMPONENT>
ColdFusion with Proxy detection
<CFCOMPONENT>
<CFIF #CGI.HTTP_X_Forwarded_For# EQ "">
<CFSET ipaddress="#CGI.Remote_Addr#">
<CFELSE>
<CFSET ipaddress="#CGI.HTTP_X_Forwarded_For#">
</CFIF>
</CFCOMPONENT>
ASP.NET (C#) without Proxy detection
public string IpAddress()
{
return Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
}
ASP.NET (C#) with Proxy detection
public string IpAddress()
{
string strIp;
strIp = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
if (strIp == null)
{
strIp =
Request.ServerVariables["REMOTE_ADDR"];
}
return strIp;
}
ASP.NET (VB.NET) without Proxy detection
Public Function IpAddress()
IpAddress = Request.ServerVariables("HTTP_X_FORWARDED_FOR")
End Function
ASP.NET (VB.NET) with Proxy detection
Public Function IpAddress()
Dim strIp As String
strIp = Request.ServerVariables("HTTP_X_FORWARDED_FOR")
If strIp = "" Then
strIp =
Request.ServerVariables("REMOTE_ADDR")
End If
IpAddress = strIp
End Function
|
| |
|
| |
|
|
| |
|
| Q: |
Can I test the demo version for free? |
| A: |
Absolutely yes! We provide live demo for the IP2Location web
service and you can try it at :
http://www.fraudlabs.com/demoIP2Location.aspx. Just follow some simple
instructions and you are on the right track to experience our service
immediately!
|
| |
|
| |
|
|
| |
|
| Q: |
Can I evaluate a IP2Location web service prior to
purchasing? |
| A: |
|
| |
|
| |
|
|
| |
|
| Q: |
If I am using a free license, can I receive
technical support / help? |
| A: |
Yes! Our support teams will be glad to assist you. We will
ensure that there are no bad surprises after the point of purchase. Our highly
trained development staff will provide online support. We will always
provide timely, helpful assistance when you have purchased or evaluated our
product.
|
| |
|
| |
|
|
| |
|
| Q: |
Why should I upgrade from the free license version to
the full version? |
| A: |
All subscribers will get extra query credits per month based
on their subscription packages. Furthermore, we provide 24-hour email support
for all premium subscribers.
|
| |
|
| |
|
|
| |
|
| Q: |
What happens if I use up all of the credits
allowed under my subscription plan? |
| A: |
If you have used up all of the credits allowed under your
subscription plan within a month while your license license key is still valid,
you will continue to receive the new credits as per stated in your subscription
plan for the following month. You have another option which is, you may like to
upgrade your current subscription to another premium subscription plan in order
to enjoy more credits per month.
If you wish to add more credits just for the current month, you may like to
go for 'Add Credits' and select the credits that suit you. This is a ONE-TIME
top up and your subscription package will remain unchanged. Please feel free to
email sales@fraudlabs.com
for more information.
|
| |
|
| |
|
|
| |
|
| Q: |
How to subscribe for the IP2Location web service? |
| A: |
You can order the IP2Location web service through our online
purchase system. Click on the subscription button (If you are a registered user,
please login before proceeding to subscription area). If you are a first time user,
you are required to fill in your details for registration purposes. The next step
is to key in your payment information and click on the submit button to complete the
subscription. As soon as you have clicked on the submit button, the system will send a
license key to your inbox. The final step is to check your email account and
integrate the license key.
|
| |
|
| |
|
|
| |
|
| Q: |
How to integrate the IP2Location web service? |
| A: |
|
| |
|
| |
|
|
| |
|
| Q: |
I am behind a proxy. How can I connect to your web service? |
| A: |
Yes, you will have to do some settings before you can connect to our web service. Please see here for more information
|
| |
|
|
| |
|
| |
|