Hi, I don't know if this is possible. But, I would like to know fi anyone has a php script which can grab a hostname of a person. A lot of my visitors have dynamic ip addresses. So according to what I have learned. When tehy restart, if I have blocked their ip. They will still have access because their ip address will be different. Does anyone have a script which will get he hostname, which is permanent. Or a script which will solve the problem
Thanksno scripts. al you had to do was look in the php manual. you need to use the super global $_SERVER
$_SERVER['REMOTE_HOST']
'REMOTE_HOST'
The Host name from which the user is viewing the current page. The reverse dns lookup is based off the REMOTE_ADDR of the user.
but forwarned, they are not permanent either, they change.Thanks very much. I'll try it right away.
Thanksno scripts. al you had to do was look in the php manual. you need to use the super global $_SERVER
$_SERVER['REMOTE_HOST']
'REMOTE_HOST'
The Host name from which the user is viewing the current page. The reverse dns lookup is based off the REMOTE_ADDR of the user.
but forwarned, they are not permanent either, they change.Thanks very much. I'll try it right away.