You are here: Re: Domain Name of curent user « PHP Programming Language « IT news, forums, messages
Re: Domain Name of curent user

Posted by Michael on 11/30/05 03:38

"Carl" <_Nospam_@_DO_NOT_.USE> wrote in message
news:7d7jf.20683$BZ5.9444@newssvr13.news.prodigy.com...
> 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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация