You are here: How to get visitor host name? « PHP Programming Language « IT news, forums, messages
How to get visitor host name?

Posted by brett on 11/04/06 07:15

I can get the IP address of a visitor on my site by

$_SERVER['REMOTE_ADDR'];

how do I get the corresponding URL. If the user is on Comcast, the URL
(host name) may look like:

d-20-19-24-30.hsd3.la.comcast.net

That's the value I'm after.

Thanks,
Brett

 

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

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