se7enet purgatorio

Page 1 of 1 1
Topic Options
Rate This Topic
#17152 - 04/17/08 05:03 PM mktime() or time()
OrEz
Grape Nuts


Registered: 03/28/08
Posts: 26

Offline
 Code:
Strict Standards: mktime() [function.mktime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Helsinki' for 'EEST/3.0/DST' instead in /.php on line 245

Strict Standards: mktime() [function.mktime]: You should be using the time() function instead in /.php on line 245

Hi!
Every time wen i enter an page that use a time function it give this error. Wen i switch to time() , the error is gone , but its safe ? what the difference? Or how it can be fix the mktime() error ?


Edited by OrEz (04/17/08 05:05 PM)

Top
#17153 - 04/17/08 08:17 PM Re: mktime() or time() [Re: OrEz]
Jamin Administrator
Cookie Crisp
****

Registered: 02/25/05
Posts: 2649
Loc: Texas

Offline
At the top of index.php, change error_reporting(E_STRICT); to error_reporting(E_ALL); and your problem will magically disappear.

---Jamin
_________________________
Diablo 3 Lead Designer Jay Wilson:
“The development of a Blizzard game is sometimes a long affair. This is how long it took us to be ready.”

Top
#17154 - 04/17/08 08:59 PM Re: mktime() or time() [Re: Jamin]
AnmanIndustries
Cookie Crisp
*****

Registered: 03/21/05
Posts: 2876
Loc: Planet Stupid, AKA Earth

Offline
ITS LIKE MAGIC!
_________________________
If you want me to punch you in the nuts go to:
http://www.AnmanIndustries.com

I'll do it for free too. Enjoy.

Top
#17155 - 04/17/08 09:40 PM Re: mktime() or time() [Re: AnmanIndustries]
Jamin Administrator
Cookie Crisp
****

Registered: 02/25/05
Posts: 2649
Loc: Texas

Offline
Problem fixed? Hell no!

Problem hidden so it doesn't bother you anymore? Hell yes!

---Jamin
_________________________
Diablo 3 Lead Designer Jay Wilson:
“The development of a Blizzard game is sometimes a long affair. This is how long it took us to be ready.”

Top
#17156 - 04/18/08 12:37 AM Re: mktime() or time() [Re: Jamin]
AnmanIndustries
Cookie Crisp
*****

Registered: 03/21/05
Posts: 2876
Loc: Planet Stupid, AKA Earth

Offline
ITS LIKE MAGIC!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
_________________________
If you want me to punch you in the nuts go to:
http://www.AnmanIndustries.com

I'll do it for free too. Enjoy.

Top
#17157 - 04/18/08 03:55 AM Re: mktime() or time() [Re: AnmanIndustries]
OrEz
Grape Nuts


Registered: 03/28/08
Posts: 26

Offline
Hmm , thanks , but the mktime its based on host time, or player time?
Top
#17158 - 04/18/08 06:05 PM Re: mktime() or time() [Re: OrEz]
Jamin Administrator
Cookie Crisp
****

Registered: 02/25/05
Posts: 2649
Loc: Texas

Offline
mktime is the server/host time.

---Jamin
_________________________
Diablo 3 Lead Designer Jay Wilson:
“The development of a Blizzard game is sometimes a long affair. This is how long it took us to be ready.”

Top
Page 1 of 1 1


Hop to:

se7enet

Barack Obama Logo