News Feed
Sections

News Archive


Community Events






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


Rob Allen's Blog:
Simple Zend_Form File Upload Example Revisited
0 comments :: posted Monday May 19, 2008 @ 09:33:13
voice your opinion now!

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.

tagged with: zendform zendframework upload form example spl arrayobject



framework release conference security example ajax code package developer zend PEAR database book cakephp releases mysql application job PHP5 zendframework

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