Jump to content

GeoIP PHP Functions


Dragosvr92

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.