SN_GEOIP

NAME

sn_geoip - This function return information about the current geolocalisation of the user.

DESCRIPTION

The geolocalisation of the user is based on the function geoip in Extenso.

This function is slow. So the first time this function is called we check in the database

/hash/geoip.db to check for the current user geolocalisation. If the user is not in the database,

we use geoip to find the user and save it in the database. The next time, we will find the user

in the database and the request will be faster.

If the key is not specify, the cookie of the current user will be user as set by Extenso.

geois return an hash array with the followin values

EXAMPLES

geoip = sn_geoip(); 

SEE ALSO

AUTHOR

Written by Pierre Laplante

MODIFICATIONS

1.0 2014-09-09 21:24:14 laplante@sednove.com