News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

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

International PHP Magazine: Which one of the following is the Best Function for MySQL Data Fetching

Matthew Weir O'Phinney's Blog: svn:externals (and the Zend Framework)

Zend Developer Zone: Decorators with Zend_Form

WebProNews.com: Form Checking - Verifying Name Using PHP Ereg

Raphael Stolt's Blog: Creating and using Phing ad hoc tasks


Community Events

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


opinion application laravel interview example series symfony2 php7 library release performance install conference podcast configure community framework voicesoftheelephpant api introduction

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