This thread is from alt.comp.lang.php
Anyone have a definitave answer for this, and not a work-around ?

Mark...




Update,

    Have got a work-around happening... I insert this in the headers:

\nDate: ".date("D, d M Y H:i:s O")

This seems to work. There are quite a few instances of this type of thing at
bugs.php.net... I couldn't find any real fixes though...

Mark...

"Onion" <[EMAIL PROTECTED]> wrote in message
news:x1gC9.12$[EMAIL PROTECTED]...
> Update -
>
> This is the output from the following php:
>
> $curloc = setlocale( "LC_ALL", "" );
> echo "Current Locale = $curloc\n";
> echo  "Date: ".date("r");
>
> Current Locale = English_Australia.1252 Date: Tue, 19 Nov 2002 11:50:11
> +1100
>
> Therefore the locale time offset is set incorrectly ? How do I change this
?
> Is is php itself and not the webserver ?
> Note - the time as given is itself correct, just the offset is +11:00
> instead of +10:00.
>
> Thanks again,
> Mark...
>
> "Onion" <[EMAIL PROTECTED]> wrote in message
> news:HEfC9.10$[EMAIL PROTECTED]...
> >
> >
> > Thanks, PHP is ver 4.2.2
> >
> > Using the mail() function.
> >
> > Email header follows:
> >
> > Received: from BORIS ([172.16.200.243]) by bananamail.bananacoast with
> SMTP
> > (Microsoft Exchange Internet Mail Service Version 5.5.2653.13)
> >  id 436K2QWC; Tue, 12 Nov 2002 16:23:19 +1100
> > Date: Tue, 12 Nov 2002 16:20:30 +1000
> > Subject: PLC Referral - Unwin
> > To: [EMAIL PROTECTED]
> > From: PLC Housing Referral <[EMAIL PROTECTED]>
> >
> > A couple of addresses changed (receiver & sender) to protect the
> innocent...
> > BORIS is the IIS / PHP box, BANANAMAIL is the email server. It looks
like
> > the time offset is incorrect in the header - but on which machine
(checked
> > both boxes & they are correct - GMT +10:00 - AUS Eastern Daylight Time -
> > Auto adjust time for daylight savings.). Can this be in the PHP config
> > somewhere ? Sending an email using ASP produces the correct result.
> >
> > Mark...
> >
> >
> > "Waitman C. Gobble, II" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]...
> > > Hello onion,
> > >
> > > What version of PHP are you running? I recall a recent bug having to
do
> > > with the time that shows on the email. Basically if you look at the
GMT
> > > offset in the header, it would be incorrect.
> > >
> > > Take care
> > >
> > > Waitman Gobble
> > > EMK Design
> > > Buena Park, California
> > > +1.7145222528
> > > http://emkdesign.com
> > >
> > >
> > >
> > > Onion wrote:
> > >
> > > I have a page that sends an email, that when viewed on the receipents
end,
> > > says that it was sent 1 hour ahead of time. The time on the web
server,
> > > email server, and client are all correct. I have run the following in
the
> > > page (testing)
> > >
> > >
> > > $curloc = setlocale( "LC_ALL", "" );
> > > echo "Current Locale = $curloc\n";
> > > echo  "Date: ".date("r");
> > >
> > > and get the following line:
> > >
> > > Current Locale = English_Australia.1252 Date: Tue, 12 Nov 2002
17:52:55
> > > +1100
> > >
> > > all seems OK. This time is correct (17:52), but the offset is wrong
(should
> > > be +1000)
> > > Any help much appreciated
> > > Mark...



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to