[fw-general] Re: Zend_Mail (encoding) problem?

2010-10-14 Thread Marian Meres
Quick update: surprisingly, I found a bug on my end. For anyone interested: I was getting and manipulating body text (via $mail->getBodyText(true)) which I didn't realized was already encoded. So it ended up being encoded twice. Cheers, m. On Thu, Oct 14, 2010 at 5:12 PM, Marian Meres wrote: >

Re: [fw-general] Lazy Loading Resources

2010-10-14 Thread Mark Wright
I agree with yo 100%. Not being able to lazy load resources doesn't make sense. There are very few resources that are required with every page load. Even the DB or View objects may not be necessary much of the time with proper caching. I created my own resource manager that creates resources only w

SV: [fw-general] Found the issue to "Firefox - double request" !

2010-10-14 Thread Danny Fröberg
Just a thought; What charset is your webserver set to send? If it's not UTF-8, you might want to change that and the problem is likely to go away. Mvh Danny > -Ursprungligt meddelande- > Från: debussy007 [mailto:debussy...@gmail.com] > Skickat: den 14 oktober 2010 12:06 > Till: fw-genera

[fw-general] Lazy Loading Resources

2010-10-14 Thread A.J. Brown
Hi All, I've been doing some research on lazy loading resources in Zend Framework, and it seems that the decision has been made that resources that should be lazy loaded should not be a part of the bootstrapping mechanism. I'm not sure that I agree with this idea, so I'd like to re-open the discu

[fw-general] Zend Framework 1.11.0 BETA 1 Released

2010-10-14 Thread Matthew Weier O'Phinney
Zend Framework 1.11.0BETA1 Released The Zend Framework team is pleased to announce the immediate availability of the first beta release of Zend Framework 1.11.0. This release is the culmination of several months of effort by contributors and Zend Framework partners, and offers several key new feat

[fw-general] Date Subtractions Differences

2010-10-14 Thread scs
Hello, I am trying to subtract a date from another one. Sample data: 2011-07-02 2011-01-01 2010-07-02 2010-01-01 Method: $diff = $return->getDate()->subDate($going->getDate())->toArray(); Output for 2011-07-02 2011-01-01 : [day] => 31 [month] => 5 [year] => 0 [hour]

Re: [fw-general] Letter case problem in Zend_Http_Response

2010-10-14 Thread Matthew Weier O'Phinney
-- Ryan Chan wrote (on Friday, 15 October 2010, 12:47 AM +0800): > On Fri, Oct 15, 2010 at 12:32 AM, Artem Stepin wrote: > >  this should help: > > http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2 > > > > "Each header field consists of a name followed by a colon (":") and the > > fiel

Re: [fw-general] Letter case problem in Zend_Http_Response

2010-10-14 Thread Hector Virgen
As brought up by Artem, it's case-insensitive so it shouldn't matter as long as browsers are following the spec. -- *Hector Virgen* Sr. Web Developer Walt Disney Parks and Resorts Online http://www.virgentech.com On Thu, Oct 14, 2010 at 9:47 AM, Ryan Chan wrote: > Hi, > > On Fri, Oct 15, 2010

Re: [fw-general] Letter case problem in Zend_Http_Response

2010-10-14 Thread Ryan Chan
Hi, On Fri, Oct 15, 2010 at 12:32 AM, Artem Stepin wrote: >  this should help: > http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2 > > "Each header field consists of a name followed by a colon (":") and the > field value. Field names are case-insensitive. " So I just wonder why only 1

Re: [fw-general] Letter case problem in Zend_Http_Response

2010-10-14 Thread Artem Stepin
this should help: http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2 "Each header field consists of a name followed by a colon (":") and the field value. Field names are case-insensitive. " Am 14.10.2010 18:05, schrieb Ryan Chan: I have read the Zend_Http_Response: http://framewor

[fw-general] Letter case problem in Zend_Http_Response

2010-10-14 Thread Ryan Chan
I have read the Zend_Http_Response: http://framework.zend.com/svn/framework/standard/trunk/library/Zend/Http/Response.php The headers were constructed using... $this->headers[ucwords(strtolower($name))] = $value; So only 1st character will be upper case, others will be lower case. I

[fw-general] Zend_Mail (encoding) problem?

2010-10-14 Thread Marian Meres
Hello Everybody, I have run into two strange problems using Zend_Mail (UTF-8) over SMTP transport. Both look like obvious bugs which seems quite unlikely... ---> First one: $mail = new Zend_Mail('UTF-8'); $mail->setBodyText("Příliš žluťoučký kůň úpěl ďábelské ódy"); The above email is received

[fw-general] Found the issue to "Firefox - double request" !

2010-10-14 Thread debussy007
Finally, I've found the error in my case : Commenting the HTML line below stops the double request : However I don't know how to fix it ... I've been using that meta for ages, never had a problem. Seems that for that specific request it causes problems. I need to specify that the page is UTF-8