I have installed the geoip for getting the address based on the remote_server ip in php. I have installed the Geoip package in my system and also i have installed the php5-geoip php extension. But while running the following script it is showing the fatal error.
geoip_open("GeoIP.dat",GEOIP_STANDARD);
the error is
Fatal error: Call to undefined function geoip_open()
include the geoip_inc
file after that it will not show this error and its maxMind library
not php extension
include("include/geoip.inc");
$gi = geoip_open("include/GeoIP.dat", GEOIP_STANDARD);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With