geoip_* API instead of SQL
-
Hi,
I wonder, whether it’s feasible for the plugin to do the lookup using the geoip_* PHP API (with a way to choose between both options then, somewhere in the admin panel).
Motivation: We’re already using the geoip_* PHP API (and maintaining the used databases for that) for the same project, and want to avoid having a second database, that might not even be in sync with the existing one.
For now we dropped the SQL requests and replaced the lookup with a call to geoip_record_by_name(). But the person responsible for managing the WordPress instance is already cursing me, because he has to make sure to apply the diff after each plugin update.
Roberto
The topic ‘geoip_* API instead of SQL’ is closed to new replies.