Store the Logged in Users's Country in the DataBase How could I store the country of the registered user, when he/she logs in. I am hoping I could store it in the DB to later retrieve it within the reports.

I am using Drupal 7.

Many Many Thanks.
Turns out there's a pre-built solution for just that: ip2country


  This module uses a visitor's IP address to identify the geographical location (country) of the user. The module makes this determination and stores the result as an ISO 3166 2-character country code in the Drupal $user object, but otherwise has no effect on the operation of your site. The intent is simply to provide the information for use by other modules. A function is also provided for you to perform your own lookup, to use in your own manner. Features include automatic updates of the IP-country database and admin spoofing of an arbitrary IP or Country for testing purposes.