Reply to Re: detecting user's timezone

Your name:

Reply:


Posted by houghi on 07/08/07 16:52

Lars Eighner wrote:
>> Would it not be possible to do this from their IP address?
>
> You could probably beat outright guessing in that way, but there is no
> reliable relationship between IP and geography, no necessary relationship
> between the IP making the request and the user's actual IP at any given
> moment, and again no necessary relationship between the user's actual IP at
> any moment and geography.

Guessing is a bit wrong. I would say guestimating.

> You might get it right most of the time, but you will get it wrong a
> significant part of the time, and in some cases you'll get it wrong in an
> absurd way --- such as claiming the page was last updated some time in the
> future.

Most of the times would be good enough for most of the sites. You can do
a first guestimate and then have a cookie so that people can change it
and have the correct time whenever they come back.

The accuracy would also depend on what you intend to do with it.

houghi
--
________________________ Open your eyes, open your mind
| proud like a god don't pretend to be blind
| trapped in yourself, break out instead
http://openSUSE.org | beat the machine that works in your head

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация