To display the site visitor's IP address in php script do the following: <?php $ip_address = getenv("REMOTE_ADDR"); ?>
© 2005 tiplib.com