Difference between revisions of "GETLOCALHOST()"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Helengeorge (Talk | contribs) |
||
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Function to return the hostname of the server that is running the Recital Database/Mirage Server | Function to return the hostname of the server that is running the Recital Database/Mirage Server | ||
Line 28: | Line 24: | ||
==Products== | ==Products== | ||
− | Recital | + | Recital Server |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Environment]] | [[Category:Environment]] | ||
[[Category:Environment Functions]] | [[Category:Environment Functions]] |
Latest revision as of 16:08, 2 December 2009
Purpose
Function to return the hostname of the server that is running the Recital Database/Mirage Server
Syntax
GETLOCALHOST()
See Also
GETREMOTEADDR(), GETREMOTEHOST(), GETREMOTEUSER(), ISMIRAGE(), ISSERVER()
Description
The GETLOCALHOST() function returns the hostname of the server that is running the Recital Database Server or Recital Mirage 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 server does not have a hostname defined.
Example
mCurrentHostName = getlocalhost()
Products
Recital Server