News Feed
Jobs Feed
Sections




News Archive
Rob Allen's Blog:
Simple Zend_Form File Upload Example Revisited
May 19, 2008 @ 09:33:13

Rob Allen has revisited a Zend_Form example he had created before, updating it with a fix for a common error people were seeing when the form tries to validate.

I've been thinking about the Simple Zend_Form File Upload Example that I discussed last month. To recap, if you haven't read the comments, if the form fails to validate for some reason then you get a nasty error.

He corrects the issue by creating an ArrayObject (thanks to the SPL) that can be used both as an array and can look like a string to htmlspecialchars and changing up the validation a little bit to work with the new object.

0 comments voice your opinion now!
zendform zendframework upload form example spl arrayobject


blog comments powered by Disqus

Similar Posts

David Coallier's Blog: PHP Namespaces (Part 1: Basic usage & gotchas)

Luke Welling's Blog: I <heart> register_globals

SitePoint PHP Blog: The Joy of Regular Expressions [4]

Zend Developer Zone: Managing CSS and JavaScript files within a Zend Framework App

Zend Developer Zone: Enhance performance with Zend_Cache


Community Events











Don't see your event here?
Let us know!


community interview code tool testing composer podcast development introduction zendframework2 release conference series functional example framework opinion object database language

All content copyright, 2013 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework