On Tuesday 14 July 2009 06:03:26 Matthew Weier O'Phinney wrote: > -- Muhammad Ali <[email protected]> wrote > > (on Monday, 13 July 2009, 09:16 PM +0100): > > An other quick question for the mailing list, does using Zend_Config as > > Array rather as INI files improves performance, is it worth doing? > > Using native arrays will of course be faster to parse than INI or XML. > That said, it's likely to have negligible effect on your application > performance. Profile your application using XDebug or Zend Debugger to > find the real bottlenecks.
He can always use INI and cache the resulting config object. Zend_Application should support that out-of-the-box. > > > -------------------------------------------------- > > From: "Bradley Holt" <[email protected]> > > Sent: Monday, July 13, 2009 8:53 PM > > To: "Muhammad Ali" <[email protected]> > > Cc: <[email protected]> > > Subject: Re: [fw-general] Fw: $request->getParams() returns escaped data > > > >> This isn't Zend Framework -- it sounds like you have magic quotes > >> turned on. These should be disabled[1] when using Zend Framework. > >> > >> [1] http://us3.php.net/manual/en/security.magicquotes.disabling.php > >> > >> On Mon, Jul 13, 2009 at 3:44 PM, Muhammad Ali<[email protected]> wrote: > >>> Hi > >>> > >>> Just wanted to check if escaping for $request->getParams() can be > >>> turned off > >>> e.g. single quote( ' ) is replaced by ( \' ). I have tried it before > >>> calling > >>> any other methods but still the same, is there any helper or plugin I > >>> need > >>> to set options for? > >>> > >>> If it is a default, why I should create a filter to strip slashes while > >>> printing values where as if i can not put them as the first place. > >>> > >>> Thanks > >> > >> -- > >> Bradley Holt > >> [email protected] -- Dado
