RE: [PHP] putenv usage

2009-07-22 Thread Yuri Yarlei
ato sekai desu. > Date: Wed, 22 Jul 2009 15:16:25 +0100 > From: phpm...@jawbone.freeserve.co.uk > To: manojsingh2...@gmail.com > CC: php-general@lists.php.net > Subject: Re: [PHP] putenv usage > > 2009/7/22 Manoj Singh : > > > Now my question is whether it is fine t

Re: [PHP] putenv usage

2009-07-22 Thread David Otton
2009/7/22 Manoj Singh : > Now my question is whether it is fine to use putenv in the production > environment? Whether the putenv changes the timezone value globally for all > request or for the current request only? "The environment variable will only exist for the duration of the current reques

[PHP] putenv usage

2009-07-22 Thread Manoj Singh
Hi All, I have a page where the user specifies in which timezone they belong to and based on that i have to show the date & time. So I have to set the different timezones. For this I am using putenv function like: putenv("TZ=US/Eastern"); Now my question is whether it is fine to use putenv in the