[PHP] Re: GeoIP Character Encoding

2009-07-29 Thread Nisse Engström
On Tue, 28 Jul 2009 18:10:33 -0400, APseudoUtopia wrote: 'Portugal, 09, Vila Real De Santo António' 'Norway, 08, Ålesund' 'Portugal, 04, Vila Nova De Famalicão' (Note the ó, Å, and ã). I'm using PostgreSQL as my database. The database's encoding is UTF8, and the locale is C. When I

[PHP] Re: GeoIP Character Encoding

2009-07-29 Thread Nisse Engström
On Tue, 28 Jul 2009 18:10:33 -0400, APseudoUtopia wrote: I'm using the PECL GeoIP module on php 5.2.10. When I look up an IP address, the geoip_record_by_name() function is giving me a string that contains special characters, such as the following: The PECL GeoIP page links to

Re: [PHP] Re: GeoIP?

2009-03-16 Thread Per Jessen
Michelle Konzack wrote: Hello Per, Am 2009-03-15 15:12:47, schrieb Per Jessen: The easiest is to use a DNS service - this is the best one I know: http://countries.nerd.dk/ This is cool... I'm glad you like it - it really is cool. /Per -- Per Jessen, Zürich (4.1°C) -- PHP

Re: [PHP] Re: GeoIP?

2009-03-16 Thread Louie Miranda
Thanks for this! -- Louie Miranda (lmira...@gmail.com) http://www.louiemiranda.net Quality Web Hosting - www.axishift.com Pinoy Web Hosting, Web Hosting Philippines On Mon, Mar 16, 2009 at 3:48 PM, Per Jessen p...@computer.org wrote: Michelle Konzack wrote: Hello Per, Am 2009-03-15

Re: [PHP] Re: GeoIP?

2009-03-16 Thread zerof
Nitsan Bin-Nun escreveu: Hi Michelle, Try to use sqlite instead of any other database. It will be better I guess. Regards, Nitsan On Sun, Mar 15, 2009 at 9:08 PM, zerof . wrote: Please, avoid to reply our messages with entire heads. I don't like to see my email along these. zerof

Re: [PHP] Re: GeoIP?

2009-03-16 Thread Daniel Brown
On Mon, Mar 16, 2009 at 12:01, zerof ze...@terra.com.br wrote: Please, avoid to reply our messages with entire heads. I don't like to see my email along these. Then unsubscribe. Before subscribing and posting to any mailing list, you should read the rules and regulations of the list.

[PHP] Re: GeoIP?

2009-03-15 Thread Michelle Konzack
Forgotten one thing: Am 2009-03-15 13:52:52, schrieb Michelle Konzack: Hello, I am in creation of a WaveLAN service in Germany and my HTML-Form is DoS'ed be idiots outside of Germany. Can someone tell me how to prevent peoples, filling out the form without being in Germany? Note: I

[PHP] Re: GeoIP?

2009-03-15 Thread Michelle Konzack
Hello Nitsan, Am 2009-03-15 15:39:26, schrieb Nitsan Bin-Nun: Take a look at this: http://www.maxmind.com/app/geolitecountry Use indexes, I think the checkup won't take long. I have it installed (php5-geoip, 1.0.3-1) , but it is realy slow OK, now I have greped for DE and the database is

[PHP] Re: GeoIP?

2009-03-15 Thread Michelle Konzack
Hello Per, Am 2009-03-15 15:12:47, schrieb Per Jessen: The easiest is to use a DNS service - this is the best one I know: http://countries.nerd.dk/ This is cool... OK, I have imported the ISO codes list and it just works how it should. Thanks, Greetings and nice Day/Evening Michelle

[PHP] Re: GeoIP?

2009-03-15 Thread zerof
Michelle Konzack escreveu: Hello Nitsan, Am 2009-03-15 15:39:26, schrieb Nitsan Bin-Nun: Take a look at this: http://www.maxmind.com/app/geolitecountry Use indexes, I think the checkup won't take long. ... For a long time I'm using the geolitecountry without no problems.

Re: [PHP] Re: GeoIP?

2009-03-15 Thread Nitsan Bin-Nun
Hi Michelle, Try to use sqlite instead of any other database. It will be better I guess. Regards, Nitsan On Sun, Mar 15, 2009 at 9:08 PM, zerof ze...@terra.com.br wrote: Michelle Konzack escreveu: Hello Nitsan, Am 2009-03-15 15:39:26, schrieb Nitsan Bin-Nun: Take a look at this: