I guess no script available for this. All you have to do is look in to the php manual. You need to use the super global $_server.
Quote:
'REMOTE_HOST'
The host name from which the user is viewing the current page. The reverse dns lookup is based on the REMOTE_ADDR of the user.
|
But remember, they are not permanent either, they might be changed.