php-windows Digest 13 Mar 2007 12:48:48 -0000 Issue 3165
Topics (messages 27578 through 27581):
Re: PHP4 and DST Changes
27578 by: bedul
27579 by: Frank M. Kromann
howto: mktime() function
27580 by: bedul
27581 by: zerof
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
to php-db.. this might related to database.
forgive me if this contain spam.
----- Original Message -----
From: "James Crow" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, March 13, 2007 1:25 AM
Subject: [PHP-WIN] PHP4 and DST Changes
> I have tried searching, but so far have not found an answer.
>
> With the recent DST change I have some old PHP4 apps that work fine when
run
> under php4/linux. The same scripts have incorrect time when run under
> php4/windows. I ran a simple test under Windows and Linux:
>
> <?php
> print date('I');
> ?>
>
> Under windows it returns 0 (i.e. not running in DST). Under Linux it
returns
> 1. Is PHP4/Windows broken regarding the recent DST changes?
T Timezone setting of this machine Examples: EST, MDT ...
that's weird.. it should return EST or MDT.. actualy i never tried on my
pages, cmiiw.
i believe that's from php.ini configuration.
--- End Message ---
--- Begin Message ---
My old copy of PHP 4 works just fine on windows.
Check your settings on windows. Did you enable DST?, did you patch the box
with the latest update from MS?
- Frank
> to php-db.. this might related to database.
> forgive me if this contain spam.
> ----- Original Message -----
> From: "James Crow" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Tuesday, March 13, 2007 1:25 AM
> Subject: [PHP-WIN] PHP4 and DST Changes
>
>
> > I have tried searching, but so far have not found an answer.
> >
> > With the recent DST change I have some old PHP4 apps that work fine
when
> run
> > under php4/linux. The same scripts have incorrect time when run under
> > php4/windows. I ran a simple test under Windows and Linux:
> >
> > <?php
> > print date('I');
> > ?>
> >
> > Under windows it returns 0 (i.e. not running in DST). Under Linux it
> returns
> > 1. Is PHP4/Windows broken regarding the recent DST changes?
>
> T Timezone setting of this machine Examples: EST, MDT ...
>
> that's weird.. it should return EST or MDT.. actualy i never tried on
my
> pages, cmiiw.
> i believe that's from php.ini configuration.
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
i wonder how i can get value from mktime.
my friend want to build mktime using asp but he wonder how to have the value..
what he have are the function same as date() on asp.
if someone have time to build the same function but only use date.. plz post
here
thx in advance
--- End Message ---
--- Begin Message ---
bedul escreveu:
i wonder how i can get value from mktime.
my friend want to build mktime using asp but he wonder how to have the value..
what he have are the function same as date() on asp.
if someone have time to build the same function but only use date.. plz post
here
thx in advance
http://www.educar.pro.br/a/dttime/index.php?pn=12&tr=17
http://www.educar.pro.br/a/dttime/index.php?pn=13&tr=17
--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
----------------------------------------------------------
Você deve, sempre, consultar uma segunda opinião!
----------------------------------------------------------
Deixe todos saberem se esta informação foi-lhe útil.
----------------------------------------------------------
You must hear, always, one second opinion! In all cases.
----------------------------------------------------------
Let the people know if this info was useful for you!
----------------------------------------------------------
--- End Message ---