I am assuming you have PHP experience, although you have only posted 2 messages on this site.
The PHP code used to detect the client's IP is:
<?php
$client_ip = ( !empty($HTTP_SERVER_VARS['REMOTE_ADDR']) ) ? $HTTP_SERVER_VARS['REMOTE_ADDR'] : ( ( !empty($HTTP_ENV_VARS['REMOTE_ADDR']) ) ? $HTTP_ENV_VARS['REMOTE_ADDR'] : $REMOTE_ADDR );
?>
Now you can print the IP address..
<?php
print($client_ip);
?>
My first post here..hope this helps you.
CJ