RE: [PHP] Finding user's timezone

From: Date: Fri, 03 Nov 2006 15:35:36 +0000
Subject: RE: [PHP] Finding user's timezone
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-244155@lists.php.net to get a copy of this message
> Hmm... in $_SERVER array you get a client IP so You know client coutry. if > exists a list of ip numbers and coutries should be exists list > coutries and > timezones too, so it should be easy. Eventually you may create > short list of > this countries what will be visitors from (or only biggest coutries). > The IP address isn't very reliable though. Many global corporations only have a couple of external gateways through which all traffic goes. A user in the UK could very well have their visable IP address located in the US. Edward

« previous php.general (#244155) next »