This shows how to get a user's IP address and geographic location, save them to a spreadsheet, and display them to the user. Saving the client's internet service provider, latitude and longitude coordinates, browser, operating system, and a timestamp are also demonstrated.
Source code is available at http://robinsonprogramming.com/tuts/d...
http://www.RobinsonProgramming.com
UPDATE: Make sure you define the query string variable as follows:
$QUERY_STRING = preg_replace("%[^/a-zA-Z0-9@,_=]%", '', $_SERVER['QUERY_STRING']);
Смотрите видео Get And Save A Client's IP Address, Location, And Other Data In PHP онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь RobinsonProgramming.com 27 Июль 2014, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 47,133 раз и оно понравилось 252 людям.