Re: [PHP] Finding user's timezone

2006-11-03 Thread Pawel Miroslawski
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).

Re: [PHP] preg_replace (again)

2006-09-20 Thread Pawel Miroslawski
Hi it's example script: '; $replacements[1] = ''; echo preg_replace($patterns, $replacements, $string); ?> It should be ok, but i don't test it. Pawel

Re: [PHP] Re: Most stable combination of AMP?

2006-09-20 Thread Pawel Miroslawski
On 9/20/06, Kae Verens <[EMAIL PROTECTED]> wrote: James Tu wrote: > Hi: > > I'm trying to setup a dev environment using Apache, MySQL and PHP...to > develop an application that will go to production. > What is the most stable versions of the AMP components should I can > install? > > The product