I have a script that creates simple timestamps using the date() function in PHP:
$ldate=date("Y/m/d");
$ltime=date("H.i.s");
$logtime="$ldate $ltime";
I have two domains hosted with Sonic, call them domain1.org and domain2.net. Identical versions of the script live on each domain. Now imagine it's 12.01am on some day in Santa Rosa:
On domain1.org 'date("H.i.s")' returns '00.01.00'
On domain2.net 'date("H.i.s")' returns '07.01.00'
What's up with that? Am I getting a different time zone (GMT?) on domain2? These domains sit side by side in my home directory and AFAIK run on the same server. The script generated the same timestamp on both servers up until about a week ago.
anyway thanks in advance
RACER
$ldate=date("Y/m/d");
$ltime=date("H.i.s");
$logtime="$ldate $ltime";
I have two domains hosted with Sonic, call them domain1.org and domain2.net. Identical versions of the script live on each domain. Now imagine it's 12.01am on some day in Santa Rosa:
On domain1.org 'date("H.i.s")' returns '00.01.00'
On domain2.net 'date("H.i.s")' returns '07.01.00'
What's up with that? Am I getting a different time zone (GMT?) on domain2? These domains sit side by side in my home directory and AFAIK run on the same server. The script generated the same timestamp on both servers up until about a week ago.
anyway thanks in advance
RACER