Dragosvr92 Posted August 25, 2010 Share Posted August 25, 2010 Hey there i just find out by mistake that PHP Can Return the ISPs CC etc O.o by looking here but it gives me parse errors on any script im trying to run.. for example this is giving me <?php $isp = geoip_isp_by_name('www.example.com'); if ($isp) { echo 'This host IP is from ISP: ' . $isp; } ?> Fatal error: Call to undefined function geoip_isp_by_name() in C:\wamp\www\IP\index1.php on line 2 Do i need to activate some PHP Settings to make it work? Link to comment https://forums.phpfreaks.com/topic/211727-geoip-php-functions/ Share on other sites More sharing options...
Dragosvr92 Posted August 25, 2010 Author Share Posted August 25, 2010 . Link to comment https://forums.phpfreaks.com/topic/211727-geoip-php-functions/#findComment-1103709 Share on other sites More sharing options...
Alex Posted August 25, 2010 Share Posted August 25, 2010 You need to have the GeoIP extension installed. Link to comment https://forums.phpfreaks.com/topic/211727-geoip-php-functions/#findComment-1103721 Share on other sites More sharing options...
Dragosvr92 Posted August 27, 2010 Author Share Posted August 27, 2010 You need to have the GeoIP extension installed. Would you mind telling me how to ? i barely found that php_geoip.dll file and it gave me errors when i tried to enable it Link to comment https://forums.phpfreaks.com/topic/211727-geoip-php-functions/#findComment-1104247 Share on other sites More sharing options...
Alex Posted August 27, 2010 Share Posted August 27, 2010 This is no longer a PHP Coding problem so instead you should head over to this forum and create a topic about your problem describing what you've attempted to do and the errors you're receiving. Link to comment https://forums.phpfreaks.com/topic/211727-geoip-php-functions/#findComment-1104252 Share on other sites More sharing options...
dezkit Posted August 27, 2010 Share Posted August 27, 2010 put GeoIP.dat and GeoIP.ini on your server, then use an include to GeoIP.ini Link to comment https://forums.phpfreaks.com/topic/211727-geoip-php-functions/#findComment-1104257 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.