Hi im new to this but i have managed to make a php script that logs the ip address of a user and what page they go on thats all good and dandy i was wondering if its possible to addon to the script so that it tells me who the IP address is such as 123.123.123.123 = example.com. any ideas? script of what i have so far is below.
$ip = $_SERVER['REMOTE_ADDR'];
$pagina = $_SERVER['REQUEST_URI'];
$datum = date("d-m-y / H:i:s");
$invoegen = $datum . " - " . $ip . " - " . $pagina . "<br />";
$fopen = fopen("ips.html", "a");
fwrite($fopen, $invoegen);
fclose($fopen);


