As an alternative to the webservice you can also use the apache api
version. The geoip_country version works quite well.
On 14 nov, 22:15, euromark dereurom...@googlemail.com wrote:
for the country you can use
RequestHandlerComponent::getClientIP()
in combination with sth
Is there a way (helpers, components) to obtain with Cake PHP the
user's country and associated language for that country?
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the
for the country you can use
RequestHandlerComponent::getClientIP()
in combination with sth like
http://planetcakephp.org/aggregator/items/3841-cakephp-requesthandler-extended
for the language simply use the $_SERVER['HTTP_ACCEPT_LANGUAGE']
string
in my case for example:
[HTTP_ACCEPT_LANGUAGE] =