Maybe AJAX is the solution to my problem?
Within a JavaScript, I want to be able to call a .php script that would output the environment of the visitor’s country code so that it would be accessible to a variable within the Javascript?
When the page loads, call whatcountry.php.
The result of…