<?php $ip = $_SERVER['REMOTE_ADDR']; $hostadresi = gethostbyaddr($ip); echo "IP Adresiniz: $ip <br />"; echo "Host Adresiniz: $hostadresi <br />"; ?>