About Net-Iden Products FAQ Rates Industries Developers         Sign In
  Developers Area  I   Integration Guide
  Release: 0.905   I   Last Update: May, 2009
  PHONE VERIFICATION  
 
Overview
 
 
End user experience
 
 
Types of calls
 
 
API Input variables
 
 
Requesting a phone call
 
 
API Output variables
 
 
Checking the status of a phone call
 
 
Output variables for RequestStatus API
 
 
Integrating with IP Intelligence
 
 
Understanding the <STATUS> field
 
 
Calling country codes
 
 
Placing a country code selection in your website
 
 
Script Builder
 
 
Generating a random PIN
 
 
Getting your visitor's IP address
 
  IP & BANKING INTELLIGENCE  
 
Overview
 
 
API - Input variables
 
 
Calling IPintel.Netiden API
 
 
API - Output variables
 

 

 
  Net-Iden Documentation
 

GETTING YOUR VISITOR'S IP ADDRESS


In ASP

ipaddress = Request.ServerVariables("REMOTE_ADDR")

In PHP

$ipaddress = getenv(REMOTE_ADDR);

In ASP.NET

Dim strClientIP As String
strClientIP = Request.UserHostAddress()
Response.Write(strClientIP)

In ColdFussion

<CFCOMPONENT>
<CFSET ipaddress="#CGI.Remote_Addr#">
</CFCOMPONENT>

.NET (C Sharp)

public string IpAddress()
{
return Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
}

.NET (C Sharp)

public string IpAddress()
{
return Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
}

.NET (VB)

Public Function IpAddress()
IpAddress = Request.ServerVariables("HTTP_X_FORWARDED_FOR")
End Function



 

 
 
            Development Partner Program    I    Terms of Use    I    Privacy Policy    I    Contact Us
 
  Copyright © 2009 Net-Iden. All Rights Reserved.