Phil Brown's Web Development Blog

Entries Tagged ‘forms’

Overriding Zend form element default decorators, for good!

I’m sure everybody who has used Zend_Form has, at one time or another, wished they could change the default form element decorators in one fell swoop, simply and efficiently. Up until now, I’ve been using one of two methods to override the default “definition list” style; set each element’s decorator scheme on instantiation or, use […]

Zend Framework Forms and magic_quotes_gpc

Introducing the bane of my existence – PHP’s magic_quotes_gpc. I won’t bore you with the details suffice to say that this is one of PHP’s greatest failings and I cannot wait until the world adopts PHP6 and this awful blight is removed forever. Until then, we’ll just have to deal with it. Now, there are […]