Re: Domain Name of curent user
- From: "Michael" <INERFAZE@xxxxxxx>
- Date: Wed, 30 Nov 2005 05:50:11 GMT
"Shane" <shane@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:pan.2005.11.30.02.31.11.424715@xxxxxxxxxxxxxxxxxxxxxxx
> On Wed, 30 Nov 2005 01:38:05 +0000, Michael wrote:
>
>> "Carl" <_Nospam_@xxxxxxxxxxxx> wrote in message
>> news:7d7jf.20683$BZ5.9444@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>>> Michael wrote:
>>>> Does someone have a reliable routine to get the domain name of the
>>>> current user of a web page? Something like NSLookup. I have no
>>>> problem
>>>> getting their IP address, but I also want the domaine name.
>>>> Thanks,
>>>> -Michael
>>>
>>> how about:
>>> http://www.php.net/manual/en/function.gethostbyaddr.php
>>>
>>> Carl.
>>
>> It may be just me, but that is the first think I tried and it gave me an
>> IP
>> address not a domain name.
>> Maybe it's the... "or a string containing the unmodified ip_address on
>> failure"... that is getting me.
>> -Michael
>
> er you want to do a reverse dns lookup?
> Thats fraught with issues.
>
> --
> Hardware, n.: The parts of a computer system that can be kicked
>
> The best way to get the right answer on usenet is to post the wrong one.
>
I'm not sure what you mean, when I type "NSLookup 70.98.111.52"
at the command prompt I get back "Name: box52.bluehost.com"
It works instantally and it works every time (that I have tried.)
I want to get that same answer via PHP.
.
- Follow-Ups:
- Re: Domain Name of curent user
- From: Malcolm Dew-Jones
- Re: Domain Name of curent user
- References:
- Domain Name of curent user
- From: Michael
- Re: Domain Name of curent user
- From: Carl
- Re: Domain Name of curent user
- From: Michael
- Re: Domain Name of curent user
- From: Shane
- Domain Name of curent user
- Prev by Date: Re: Domain Name of curent user
- Next by Date: PCNTL question
- Previous by thread: Re: Domain Name of curent user
- Next by thread: Re: Domain Name of curent user
- Index(es):
Relevant Pages
|