Difference between revisions of "GETREMOTEHOST()"

From Lianjapedia
Jump to: navigation, search
m (1 revision)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
Function to return the hostname of the client that is connected to the Recital Database/Mirage Server
+
Function to return the hostname of the client that is connected to the Lianja Server
 
+
  
 
==Syntax==
 
==Syntax==
 
GETREMOTEHOST()
 
GETREMOTEHOST()
 
  
 
==See Also==
 
==See Also==
[[GETLOCALHOST()]], [[GETREMOTEADDR()]], [[GETREMOTEUSER()]], [[ISMIRAGE()]], [[ISSERVER()]]
+
[[GETLOCALHOST()]], [[GETREMOTEADDR()]], [[GETREMOTEUSER()]], [[ISSERVER()]]
 
+
  
 
==Description==
 
==Description==
The GETREMOTEHOST() function returns the hostname of the client that is connected to the Recital Database Server or Recital Mirage Server.  The address is returned as a character string.
+
The GETREMOTEHOST() function returns the hostname of the client that is connected to the Lianja Server.  The address is returned as a character string.
 
+
An empty string will be returned if the function is not being run via the Recital Database Server or Recital Mirage Server or if the client does not have a hostname defined.
+
  
 +
An empty string will be returned if the function is not being run via the Lianja Server or if the client does not have a hostname defined.
  
 
==Example==
 
==Example==
Line 22: Line 18:
 
</code>
 
</code>
  
 
==Products==
 
Recital Server
 
 
[[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:27, 10 December 2012

Purpose

Function to return the hostname of the client that is connected to the Lianja Server

Syntax

GETREMOTEHOST()

See Also

GETLOCALHOST(), GETREMOTEADDR(), GETREMOTEUSER(), ISSERVER()

Description

The GETREMOTEHOST() function returns the hostname of the client that is connected to the Lianja Server. The address is returned as a character string.

An empty string will be returned if the function is not being run via the Lianja Server or if the client does not have a hostname defined.

Example

mCurrentHostName = getremotehost()