当前用户的域名 [英] Domain Name of curent user
问题描述
有人有可靠的例程来获取网页当前
用户的域名吗?像NSLookup之类的东西。我没有问题获得他们的IP地址
,但我也想要域名。
谢谢,
-Michael
Michael写道:有人有一个可靠的例程来获取网页当前
用户的域名?像NSLookup之类的东西。我没有问题获取他们的IP地址,但我也想要这个域名。
谢谢,
-Michael
怎么样 :
http://www.php.net/manual/en/function.gethostbyaddr.php
Carl。
"卡尔" < _Nospam _ @ _ DO_NOT_.USE>在消息中写道
news:7d ****************** @ newssvr13.news.prodigy.c om ...Michael写道:有人有一个可靠的例行程序来获取网页当前用户的域名吗?像NSLookup之类的东西。我没有问题
获取他们的IP地址,但我也想要域名。
谢谢,
-Michael
怎么样 :
http:// www .php.net / manual / en / function.gethostbyaddr.php
Carl。
可能只是我,但这是我尝试的第一个想法,它给了我一个IP
地址而不是域名。
也许它是......或者是字符串在
失败中包含未经修改的ip_address......这就是我。
-Michael
< blockquote> 2005年11月30日星期三01:38:05 +0000,Michael写道:
" Carl" < _Nospam _ @ _ DO_NOT_.USE>在消息中写道
新闻:7d ****************** @ newssvr13.news.prodigy.c om ...Michael写道:有人有一个可靠的例行程序来获取网页当前用户的域名吗?像NSLookup之类的东西。我没有问题
获取他们的IP地址,但我也想要域名。
谢谢,
-Michael
怎么样 :
http:// www .php.net / manual / en / function.gethostbyaddr.php
Carl。
可能只是我,但那是首先想到我试过,它给了我一个IP地址而不是域名。
也许它是......或者包含
失败时未经修改的ip_address的字符串。 ..这就是我。
-Michael
你想要进行反向dns查找吗?
多数民众赞成问题。
-
硬件,n。:计算机系统中可以踢的部分
在usenet上获得正确答案的最佳方法是发布错误的答案。
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
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.
"Carl" <_Nospam_@_DO_NOT_.USE> wrote in message
news:7d******************@newssvr13.news.prodigy.c om...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
On Wed, 30 Nov 2005 01:38:05 +0000, Michael wrote:
"Carl" <_Nospam_@_DO_NOT_.USE> wrote in message
news:7d******************@newssvr13.news.prodigy.c om...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.
这篇关于当前用户的域名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!