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? Quote Link to comment Share on other sites More sharing options...
Dragosvr92 Posted August 25, 2010 Author Share Posted August 25, 2010 . Quote Link to comment 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. Quote Link to comment 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 Quote Link to comment 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. Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.