ph_getipfromhostname PowerHome formula function
Description
Returns the IP address associated with a hostname.
Syntax
ph_getipfromhostname ( host )
Argument Description
host String. The hostname for which you want to obtain the IP.
Return value
String. Returns a standard IP address. Returns a negative number in string format if an error occurs. Returns "- 1" if a system error occurs. Returns "- 2" if initialization fails. Returns "- 3" if the lookup command fails.