Function __global->get_server_ips
Definitions
sources/global3.php
- Get possible IP addresses of the server.In order of what is most likely what the server considers itself. The first entry may be used for server loopback connections.Also see get_localhost_ips().
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$local_interface_only | boolean | False | N/A | N/A | Whether to only get IP addresses that are on a local network interface |
Return
- IP addresses
- Type: array
- Set: N/A
- Range: N/A