putenv usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 production
environment? Whether the putenv changes the timezone value globally for all
request or for the current request only?

Please advise.

Regards,
Manoj

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux