RE: putenv usage

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

 



You can use the date_default_timezone_set(), it will set the default timezone to your timezone choose, some server denied the access to the environment variable

Yuri Yarlei.
Programmer PHP, CSS, Java, PostregreSQL;
Today PHP, tomorrow Java, after the world.
Kyou wa PHP, ashita wa Java, sono ato sekai desu.



> Date: Wed, 22 Jul 2009 15:16:25 +0100
> From: phpmail@xxxxxxxxxxxxxxxxxxxxxxx
> To: manojsingh2121@xxxxxxxxx
> CC: php-general@xxxxxxxxxxxxx
> Subject: Re:  putenv usage
> 
> 2009/7/22 Manoj Singh <manojsingh2121@xxxxxxxxx>:
> 
> > 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 request." - www.php.net/putenv
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

_________________________________________________________________
Compartilhe os momentos mais importantes da sua vida.
http://www.microsoft.com/brasil/windows/windowslive/products/photos-share.aspx?tab=1

[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