Error getting tags :
error 404Error getting tags :
error 404 hostName | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
hostName
Basics
Expander triangle
Type
Function
Syntax
the hostName hostName()
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Returns the domain name of the local system.
Examples

if the hostName is "localhost.example.org" then return empty

Additional Comments
Expander triangle

Use the hostName function to find the domain name of the computer that Revolution is running on.

Value:

The hostName function returns the domain name of the computer.

Comments:

The hostName function does a reverse DNS lookup on the hostAddress in order to find the domain name. This means that the computer must be connected to the Internet in order to use this function. If a connection to the Internet is not available, the hostName function returns an error message.

User Comments
Expander triangle