Would it be possible to access the visitor county origin information from AwStats using PHP? A new feature I would like to add to a project lists the countries of of recent visitors (30 days).
What you need to do is find the country from the IP address in the Apache access log. This is the same log Awstats uses to generate its data.