Difference between revisions of "GETLOCALHOST()"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
m (Text replace - "Recital" to "Lianja") |
||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
− | Function to return the hostname of the server that is running the | + | Function to return the hostname of the server that is running the Lianja Server |
==Syntax== | ==Syntax== | ||
Line 9: | Line 9: | ||
==Description== | ==Description== | ||
− | The GETLOCALHOST() function returns the hostname of the server that is running the | + | The GETLOCALHOST() function returns the hostname of the server that is running 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 | + | An empty string will be returned if the function is not being run via the Lianja Server or if the server does not have a hostname defined. |
==Example== | ==Example== |
Revision as of 13:04, 7 December 2012
Contents
Purpose
Function to return the hostname of the server that is running the Lianja Server
Syntax
GETLOCALHOST()
See Also
GETREMOTEADDR(), GETREMOTEHOST(), GETREMOTEUSER(), ISSERVER()
Description
The GETLOCALHOST() function returns the hostname of the server that is running 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 server does not have a hostname defined.
Example
mCurrentHostName = getlocalhost()