this snippet displays the IP address of the user and tries to get the hostname.

unfortunately the built-in PHP function gethostbyaddr() has a very long timeout,

this snippet displays the IP address of the user and tries to get the hostname. unfortunately the built-in PHP function gethostbyaddr() has a very long timeout,

your current IP address is 38.107.191.84

your current hostname (if any) is 38.107.191.84