You are here: Re: Problem with Date in Email Header « PHP Programming Language « IT news, forums, messages
Re: Problem with Date in Email Header

Posted by Ramon on 08/18/06 18:36

Hello Alvaro,

The variable was outside the piece of code:
$sTimestamp = date("r");

I do this because otherwise I get the error message I wrote. I tested it by
copying a date from an email I sent with Outlook Express. Using that (hard
coded) date, it worked fine. But when I use the Timestamp variable (which
uses the same notation), it doesn't work. So I think I'm missing something
here, but I can't find out what...


Ramon.



"Alvaro G. Vicario" <webmaster@NOSPAMdemogracia.com> wrote in message
news:4oxvx6x6es39$.1t1l45xsw5chj.dlg@40tude.net...
> *** Ramon escribi/wrote (Fri, 18 Aug 2006 19:20:38 +0200):
>> date() [function.date]: 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/Paris' for '2.0/DST'
>> instead.
>>
>> I found out that this is caused by the date-part in the header. But I
>> can't
>> find what's wrong with it.
>
> Where do you call date()? I can't find it in your code :-? The $sTimestamp
> variable is already there...
>
> Also, I'm curious about why you need to specify a "Date" header.
>
>
>
> --
> -+ http://alvaro.es - lvaro G. Vicario - Burgos, Spain
> ++ Mi sitio sobre programacin web: http://bits.demogracia.com
> +- Mi web de humor con rayos UVA: http://www.demogracia.com
> --

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация