carebear (18-01-12), metulj (12-01-12), slowy (12-01-12), softwarefreak (11-01-12)
For all those who cant import those large tables for geo locating. I made this grabber. it uses curl and fetch results from remote server. Script returns array with country name, link to country flag and country shorthand name ( information is based on user IP).
NOTE: I dont know for how long will this script work.PHP Code:// use it like this
$array = require 'path/to/geoip_curl.php';
//country name
$name = $array['NAME'];
//country flag
$flag_url = $array['IMG'];
//short name
$abbr = $array['ABBR'];
//show results
echo 'Country: ' . $name . "[$abbr]";
echo "<img src='{$flag_url}' />";
I tested it on my PC and phone and it shows correct results. I hope that it helps someone.
Progress:PHP Code:$("#mfreak").find(".head brain").clone();
Output:Code:[|||___________________________] : 5%
Support answer:Code:Memory limit reached, unable to complete operation.
Code:Try using a super uber strong mega computer to reach at least 10%.
carebear (18-01-12), metulj (12-01-12), slowy (12-01-12), softwarefreak (11-01-12)
or you can try this one, choose what type of geolocation you want.. here's the 2 script demo
[Only registered and activated users can see links. Click Here To Register...]
and
[Only registered and activated users can see links. Click Here To Register...]
and here is the script
[Only registered and activated users can see links. Click Here To Register...]
Applications, Games, Wallpapers, Ringtones, Videos, Themes, Screensaver and More!!!
Anthony (12-01-12)
how to put it in profile in community site teach please?
Wapxtech . , . When i am enter it. , . My result is unkown city and unknown cuntry . . .why that .
Iam srilankan and location tangalle
demo wont show my location eather. at least my script showed me that i am browsing from bosnia.Originally Posted by slcash [Only registered and activated users can see links. Click Here To Register...]
Progress:PHP Code:$("#mfreak").find(".head brain").clone();
Output:Code:[|||___________________________] : 5%
Support answer:Code:Memory limit reached, unable to complete operation.
Code:Try using a super uber strong mega computer to reach at least 10%.
use geo.php, its maxmind geolocation =D they claim that they are the most reliable geoloc database, and for me its true. both of you tries geoloc.php, why dont you try geo.php? they have different api geoloc.php is a free api to geolocation database, thats why their database is not that reliable.
geo.php completes your needs, not only the geolocation but also the ISP =D
[Only registered and activated users can see links. Click Here To Register...]
Applications, Games, Wallpapers, Ringtones, Videos, Themes, Screensaver and More!!!
yep, its true maxmind is awesome. But for country and flag i stick to my grabber.Originally Posted by wapxtech [Only registered and activated users can see links. Click Here To Register...]
Progress:PHP Code:$("#mfreak").find(".head brain").clone();
Output:Code:[|||___________________________] : 5%
Support answer:Code:Memory limit reached, unable to complete operation.
Code:Try using a super uber strong mega computer to reach at least 10%.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks