Re: Domain Name of curent user




"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.




.



Relevant Pages

  • Re: [OT] Grumbling about LJ (was Re: H Potter spells)
    ... trin wrote in response to Jymn's reply to Carl: ... The difference being between Ggroups and LJ is that I think ... Just wait, Google will index lj, locked entries and all. ... likely to get the new message on Usenet, ...
    (uk.religion.pagan)
  • Re: The benefits of Equality
    ... when carl puts up a post of honor. ... posts to usenet that just like your statement above means nothing. ... record, and my words of equality, and rebutting intolerance for others ...
    (sci.space.history)
  • Re: The benefits of Equality
    ... posts to usenet that just like your statement above means nothing. ... Hey carl you can choose to be ignorant of the information I have ... record, and my words of equality, and rebutting intolerance for others ...
    (sci.space.history)
  • Re: A list of archaeological connections would be nice
    ... Carl wrote: ... as it's very like his claims about Thiering in that ... he has no expertise and no knowledge to back up his claims, ... If Woody Allen's "Radio Days" line is applied to Usenet, ...
    (sci.archaeology)
  • Re: A message for Carl Fogel
    ... Carl was wrong in using the word "vanished" without qualification. ... other forms of usenet. ... Google "Richard Malesweski" and Ozark at the same time. ... All the wreck audio groups are well, ...
    (rec.bicycles.tech)