Module function reference

get_ip_address

A reference entry for get_ip_address

Module function · Network

get_ip_address() ⇒ string|boolean

Returns the local IP address reported by the current system, or false when the address cannot be determined.

Example

YASS
$address = Network::get_ip_address()
print($address)

Notes