Re: Domain Name of curent user



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.

.



Relevant Pages

  • Re: Domain Name of curent user
    ... > Michael wrote: ... >> Does someone have a reliable routine to get the domain name of the ... Something like NSLookup. ... Prev by Date: ...
    (comp.lang.php)
  • Re: nslookup from behing router/modem
    ... michael wrote: ... I can still access the e-World from my Debian box: ... packets transmitted, 2 packets received, 0% packet loss ... michael@manchester-campaigns:~$ nslookup www.bbc.co.uk ...
    (Debian-User)
  • Re: uscourts.gov Resolution Problem
    ... "Michael K." ... SecurePlatform, not Windows... ... or any other website? ... When I looked it up using nslookup, there is no record for uscourts.gov, but there is for www.uscourts.gov. ...
    (microsoft.public.windows.server.dns)
  • Re: Domain Name of curent user
    ... Michael wrote: ... Something like NSLookup. ... I have no problem getting their IP address, but I also want the domaine name. ... Carl. ...
    (comp.lang.php)