Discussion: problem using FPDF
Afficher un message
Vieux 17/02/2008, 14h48   #4
Dikkie Dik
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: problem using FPDF

>> Edit that line and put a drop-dead sign (@) in front of it. It will keep
>> quiet.

>
> Bad man. Very bad! Thats for real not a acceptable solution.
>
> Simple adding this code will point him to a better solution:
>
> date_default_timezone_set('Europe/Moscow');



So what's the difference? That is relying on a setting which is not bad
anyway. If I explicitly want to pass a time zone, I do so. If I want to
configure a different one, I do so as well. The date function just
should not fail for perfectly ordinary requests. So alas all date
functions have to be silenced. That is the bug. Not the fact that I am
relying on something perfectly harmless.

Regards,
Dikkie
  Réponse avec citation
 
Page generated in 0,04502 seconds with 9 queries