36
serveripaddress
server_ip_address
SYNOPSIS
server_ip_address()
DESCRIPTION
server_ip_address
returns the IP address of the system which is hosting the web application.
CODE
- function server_ip_address() {
- return $_SERVER['SERVER_ADDR'];
- }
server_ip_address()
server_ip_address
returns the IP address of the system which is hosting the web application.
Comments