You are here: IP address question « PHP Programming Language « IT news, forums, messages
IP address question

Posted by Marcus on 06/19/06 19:23

Hello,

I know I can get a client's IP address with $_SERVER['REMOTE_ADDR'], but
I was wondering if I could use PHP to get any additional information,
such as the client's geographic location (zip code would be preferable),
or even just the zip of the ISP. I have spent a lot of time looking for
a solution, but have only really found links to sites where you can
enter an IP and it will trace the info for you. I need to be able to do
it dynamically so that I can keep stats on where viewers are logging in
from (again, I just need general info, like zip code, I don't need to
pinpoint anybody). I looked at all the PHP vars displayed in phpinfo()
but didn't see anything that I thought I could use. Thanks a lot in
advance.

Marcus

 

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

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