473,386 Members | 1,710 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

GeoIP locator add-on tools ... ?

Does anyone know any tools/plugins for the free geoip service that
would enable me to show country flags instead of just text ?

Or even better - that would enable me to output the values on a map ?

Can't find anything myself at the moment. I did manage to find a list
of flags though, so if there is nothing pre-rolled out there I can hack
away on it myself. Geoip has been around for so long that I can't
imagine that no-one has already built add-ons ...

Feb 21 '06 #1
5 3052
dbee wrote:
Does anyone know any tools/plugins for the free geoip service that
would enable me to show country flags instead of just text ?

Or even better - that would enable me to output the values on a map ?

Can't find anything myself at the moment. I did manage to find a list
of flags though, so if there is nothing pre-rolled out there I can hack
away on it myself. Geoip has been around for so long that I can't
imagine that no-one has already built add-ons ...


Hi,

Did you check this?
http://www.maxmind.com/app/geoip_country

It is an opensource solution. They claim it is less accurate then their
other solution (for which you may pay).

They say they have api's for:
* C Library
* Perl Module
* PHP Module
* Apache Module (mod_geoip)
* Java Class
* Python Class
* C# Class
* Ruby Module
* MS COM Object (includes sample ASP, ColdFusion, Pascal, PHP, Perl,
Python, and Visual Basic code)
* VB.NET
* Pascal

Take your pick. :P

Regards,
Erwin Moller
Feb 21 '06 #2

Erwin Moller wrote:
dbee wrote:
Does anyone know any tools/plugins for the free geoip service that
would enable me to show country flags instead of just text ?

Or even better - that would enable me to output the values on a map ?

Can't find anything myself at the moment. I did manage to find a list
of flags though, so if there is nothing pre-rolled out there I can hack
away on it myself. Geoip has been around for so long that I can't
imagine that no-one has already built add-ons ...


Hi,

Did you check this?
http://www.maxmind.com/app/geoip_country

It is an opensource solution. They claim it is less accurate then their
other solution (for which you may pay).

They say they have api's for:
* C Library
* Perl Module
* PHP Module
* Apache Module (mod_geoip)
* Java Class
* Python Class
* C# Class
* Ruby Module
* MS COM Object (includes sample ASP, ColdFusion, Pascal, PHP, Perl,
Python, and Visual Basic code)
* VB.NET
* Pascal

Take your pick. :P

Regards,
Erwin Moller


Hi Erwin,

Thanks. That was the bit I have installed already actually. It works
well and gives me a text descriptor of the IP's likely address.

But what I was wondering was whether anyone had built an add-on, that
would output points on a map or country flags instead of just text ?

Cheers,

dbee

Feb 21 '06 #3
dbee wrote:

Erwin Moller wrote:
dbee wrote:
> Does anyone know any tools/plugins for the free geoip service that
> would enable me to show country flags instead of just text ?
>
> Or even better - that would enable me to output the values on a map ?
>
> Can't find anything myself at the moment. I did manage to find a list
> of flags though, so if there is nothing pre-rolled out there I can hack
> away on it myself. Geoip has been around for so long that I can't
> imagine that no-one has already built add-ons ...
Hi,

Did you check this?
http://www.maxmind.com/app/geoip_country

It is an opensource solution. They claim it is less accurate then their
other solution (for which you may pay).

They say they have api's for:
* C Library
* Perl Module
* PHP Module
* Apache Module (mod_geoip)
* Java Class
* Python Class
* C# Class
* Ruby Module
* MS COM Object (includes sample ASP, ColdFusion, Pascal, PHP, Perl,
Python, and Visual Basic code)
* VB.NET
* Pascal

Take your pick. :P

Regards,
Erwin Moller


Hi Erwin,

Thanks. That was the bit I have installed already actually. It works
well and gives me a text descriptor of the IP's likely address.

But what I was wondering was whether anyone had built an add-on, that
would output points on a map or country flags instead of just text ?


Ah, yes, you wrote that indeed. :P
Me sloppy. Sorry.

Well, I do not know.
I think renaming all your flags to the textoutput is not that much work.
so if output is netherlands, you point to netherlands.gif.

But you probably thought of that solution too. :-)

I would just rename all flags. Probably faster done than searching for
software that performs the action.

Steal here. ;-)
http://www.photius.com/flags/alphabetic_list.html

Regards,
Erwin Moller
Cheers,

dbee


Feb 21 '06 #4
El 21 Feb 2006 02:48:00 -0800
dbee escribió:
But what I was wondering was whether anyone had built an add-on, that
would output points on a map or country flags instead of just text ?


bbclone(http://bbclone.de/) uses for the same purpouses a kind of
database called ip2ext(you can download it separately from their
website) that basically translates from an ip to a country, and it's
working very well, but that database needs to be updated regularly.

It shouldn't be very difficult to adapt it for your own proyect. Just
as a quick tip, there's a function called

bbc_get_extension($host, $addr)

that will return the extension for that host/ip. So if you call it like
this:

$ext=bbc_get_extension('blbalbla.com','217.127.67. 100');
echo $ext

should print "es"(spain)

of course, I've just made a quick grep, so I could be completely wrong,
but I think it shouldn't be much more work than that.

they also have a huge collection of flags(bbclone is a webstat system),
that I think you can use in /images directory called ext_$extension.png
so following the previous example you could use:

echo "<img src=\"images/ext_$ext.png\" />";

to display the flag of the country.

hope that helps

--
Juan José Gutiérrez de Quevedo
Director Técnico (ju****@iteisa.com)
ITEISA (http://www.iteisa.com)
942544036 - 637447953
Feb 21 '06 #5

"dbee" <da*********@gmail.com> wrote in message
news:11********************@f14g2000cwb.googlegrou ps.com...
: Does anyone know any tools/plugins for the free geoip service that
: would enable me to show country flags instead of just text ?
:
: Or even better - that would enable me to output the values on a map ?
:
: Can't find anything myself at the moment. I did manage to find a list
: of flags though, so if there is nothing pre-rolled out there I can hack
: away on it myself. Geoip has been around for so long that I can't
: imagine that no-one has already built add-ons ...
:

Have a look at IP2COUNTRY V2 .

Chris

--
Cheap As Chips Broadband http://yeah.kick-butt.co.uk
Feb 21 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Paul L | last post by:
I'm using SAX to parse a valid XML document without a DTD. If the document has extra whitespace as blank lines, the lineNumber reported by the Locator is in correct, by a line or two. Is their some...
0
by: kjr | last post by:
Hi, I get an error "ORA-22275: invalid LOB locator specified" when I try to update a BLOB field. I'm using ODBC ver3.0, and Oracle driver v8.1.7.0 for Windows. Are there any special steps...
1
by: mike | last post by:
I am having a problem allowing users to change their oracle home on their windows 2000 pc's without giving them full admin access of the local machine.
4
by: Viking | last post by:
Hello - I have a problem with VB.net standard. When I try to connect to a new data base the program does nothing. If I try and edit a connection I can have the error message "Data source locator...
4
by: Mich | last post by:
Hi, Looking for a store locator in javascript, with data for 80 stores in the code, with other words, no external database, server will not run php. Will pay if nescessary. Urgent.
6
by: tigr | last post by:
I am trying to read BLOBs from a large table (i.e., greater than 34K rows) using Java and the IBM JDBC driver (actually through an Application server). I get the following: SQL0429N The...
2
by: stiv | last post by:
I'm in the process of designing a store locator database that i searchable for the retail stores in a city and state. Which would b better to impliment the city/state query or is it zipcode based...
0
by: teju | last post by:
hi all, Iam building a store locator for UK using zip codes can any one suggest which component to be used.OR can someone tell me how to proceed writing the code. ITS URGENT. Thanks in advance
7
by: sreenulanka | last post by:
please help me in my forum i have labels and textareas .iwant to add textarea components dyanamically when i am clicking the button.please help me import java.awt.*; import javax.swing.*;...
0
by: akp123 | last post by:
I have to read a BLOB locator in a data file and load its values from another file into a DB2 table. The BLOB locator is of type COMBINATIONS.001.0.456/ and its value is in COMINATIONS.001 file...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.