Difference between revisions of "GETREMOTEADDR()"

From Lianjapedia
Jump to: navigation, search
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
Function to return the IP address of the client that is connected to the Recital Server
+
Function to return the IP address of the client that is connected to the Lianja Server
  
 
==Syntax==
 
==Syntax==
Line 9: Line 9:
  
 
==Description==
 
==Description==
The GETREMOTEADDR() function returns the IP address of the client that is connected to the Recital Server.  The address is returned as a character string in 999.999.999.999 format.
+
The GETREMOTEADDR() function returns the IP address of the client that is connected to the Lianja Server.  The address is returned as a character string in 999.999.999.999 format.
  
An empty string will be returned if the function is not being run via the Recital Server.
+
An empty string will be returned if the function is not being run via the Lianja Server.
  
 
==Example==
 
==Example==
Line 20: Line 20:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
[[Category:Environment]]
 
 
[[Category:Environment Functions]]
 
[[Category:Environment Functions]]
 +
[[Category:Lianja VFP Extensions]]
 +
[[Category:VFP Function Extensions]]

Latest revision as of 07:26, 10 December 2012

Purpose

Function to return the IP address of the client that is connected to the Lianja Server

Syntax

GETREMOTEADDR()

See Also

GETLOCALHOST(), GETREMOTEHOST(), GETREMOTEUSER(), ISSERVER()

Description

The GETREMOTEADDR() function returns the IP address of the client that is connected to the Lianja Server. The address is returned as a character string in 999.999.999.999 format.

An empty string will be returned if the function is not being run via the Lianja Server.

Example

mCurrentIP = getremoteaddr()