<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Simple Zend_Form File Upload Example</title>
	<atom:link href="http://akrabat.com/2008/04/07/simple-zend_form-file-upload-example/feed/" rel="self" type="application/rss+xml" />
	<link>http://akrabat.com/2008/04/07/simple-zend_form-file-upload-example/</link>
	<description>Developing PHP and XUL Software in the Real World</description>
	<pubDate>Thu, 24 Jul 2008 07:30:58 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Vefeer</title>
		<link>http://akrabat.com/2008/04/07/simple-zend_form-file-upload-example/#comment-22272</link>
		<dc:creator>Vefeer</dc:creator>
		<pubDate>Tue, 15 Jul 2008 14:18:52 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=242#comment-22272</guid>
		<description>Hi!

I can't figure out how to add uploaded files as BLOB to MySQL...
Any ideas? :)</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>I can't figure out how to add uploaded files as BLOB to MySQL&#8230;<br />
Any ideas? :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iMPeRiOR</title>
		<link>http://akrabat.com/2008/04/07/simple-zend_form-file-upload-example/#comment-22132</link>
		<dc:creator>iMPeRiOR</dc:creator>
		<pubDate>Wed, 02 Jul 2008 14:55:34 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=242#comment-22132</guid>
		<description>Hi Rob,

When will be the App_Form_Element_File available in the Zend Framework? So will be there anything like this: Zend_Form_Element_File?

Thank you for your answer!
Best Regards, from Hungary!</description>
		<content:encoded><![CDATA[<p>Hi Rob,</p>
<p>When will be the App_Form_Element_File available in the Zend Framework? So will be there anything like this: Zend_Form_Element_File?</p>
<p>Thank you for your answer!<br />
Best Regards, from Hungary!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yann</title>
		<link>http://akrabat.com/2008/04/07/simple-zend_form-file-upload-example/#comment-22049</link>
		<dc:creator>yann</dc:creator>
		<pubDate>Thu, 26 Jun 2008 16:10:15 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=242#comment-22049</guid>
		<description>Does someone have good results with subforms ? 
Here,       
$form = $this-&#62;getBelongsTo(); return null value</description>
		<content:encoded><![CDATA[<p>Does someone have good results with subforms ?<br />
Here,<br />
$form = $this-&gt;getBelongsTo(); return null value</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob...</title>
		<link>http://akrabat.com/2008/04/07/simple-zend_form-file-upload-example/#comment-21892</link>
		<dc:creator>Rob...</dc:creator>
		<pubDate>Mon, 16 Jun 2008 07:07:17 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=242#comment-21892</guid>
		<description>Clayton,

I think you are expected to create a My_Form that extends Zend_Form and then all your app's forms extend you form class.

Regards,

Rob...</description>
		<content:encoded><![CDATA[<p>Clayton,</p>
<p>I think you are expected to create a My_Form that extends Zend_Form and then all your app's forms extend you form class.</p>
<p>Regards,</p>
<p>Rob&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clayton</title>
		<link>http://akrabat.com/2008/04/07/simple-zend_form-file-upload-example/#comment-21886</link>
		<dc:creator>Clayton</dc:creator>
		<pubDate>Mon, 16 Jun 2008 02:39:18 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=242#comment-21886</guid>
		<description>After playing around I determined on this...
Override the constructor of an extended Zend_Form and before init() is called, do this:
$this-&#62;getPluginLoader(Zend_Form::ELEMENT)-&#62;addPrefixPath('Project_Form_Element', 'Project/Form/Element');

I really would like to know if there was a more obvious/intuitive way to do this as creating custom elements seems pretty common.. or, is the expectation to always use decorators?</description>
		<content:encoded><![CDATA[<p>After playing around I determined on this&#8230;<br />
Override the constructor of an extended Zend_Form and before init() is called, do this:<br />
$this-&gt;getPluginLoader(Zend_Form::ELEMENT)-&gt;addPrefixPath('Project_Form_Element', 'Project/Form/Element');</p>
<p>I really would like to know if there was a more obvious/intuitive way to do this as creating custom elements seems pretty common.. or, is the expectation to always use decorators?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clayton</title>
		<link>http://akrabat.com/2008/04/07/simple-zend_form-file-upload-example/#comment-21884</link>
		<dc:creator>Clayton</dc:creator>
		<pubDate>Mon, 16 Jun 2008 02:16:36 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=242#comment-21884</guid>
		<description>How is it possible to make it so the element can be added by using addElement? e.g., $form-&#62;addElement('file', ...);</description>
		<content:encoded><![CDATA[<p>How is it possible to make it so the element can be added by using addElement? e.g., $form-&gt;addElement('file', &#8230;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob...</title>
		<link>http://akrabat.com/2008/04/07/simple-zend_form-file-upload-example/#comment-21728</link>
		<dc:creator>Rob...</dc:creator>
		<pubDate>Mon, 02 Jun 2008 07:06:05 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=242#comment-21728</guid>
		<description>Hi joshteam,

Try http://akrabat.com/2008/05/16/simple-zend_form-file-upload-example-revisited/

Regards,

Rob...</description>
		<content:encoded><![CDATA[<p>Hi joshteam,</p>
<p>Try <a href="http://akrabat.com/2008/05/16/simple-zend_form-file-upload-example-revisited/" rel="nofollow">http://akrabat.com/2008/05/16/simple-zend_form-file-upload-example-revisited/</a></p>
<p>Regards,</p>
<p>Rob&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joshteam</title>
		<link>http://akrabat.com/2008/04/07/simple-zend_form-file-upload-example/#comment-21726</link>
		<dc:creator>Joshteam</dc:creator>
		<pubDate>Mon, 02 Jun 2008 00:42:47 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=242#comment-21726</guid>
		<description>Thanks! Great tutorial.. but I can't seem to rid the "htmlspecialchars" warning. Was there a fix for this? I tried a couple of people's solutions but since the validator is extending Zend_Validate_Abstract it throws errors when trying to refrence the instances and certain parent:: stuff.

Any insight would be greatly appreciated!</description>
		<content:encoded><![CDATA[<p>Thanks! Great tutorial.. but I can't seem to rid the "htmlspecialchars" warning. Was there a fix for this? I tried a couple of people's solutions but since the validator is extending Zend_Validate_Abstract it throws errors when trying to refrence the instances and certain parent:: stuff.</p>
<p>Any insight would be greatly appreciated!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Garra</title>
		<link>http://akrabat.com/2008/04/07/simple-zend_form-file-upload-example/#comment-21598</link>
		<dc:creator>Garra</dc:creator>
		<pubDate>Thu, 22 May 2008 17:42:14 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=242#comment-21598</guid>
		<description>I'm sorry Rob but it doesn't work at all if you have more than one "file" input.

I don't know what me must do.
.....
Thank
Garra</description>
		<content:encoded><![CDATA[<p>I'm sorry Rob but it doesn't work at all if you have more than one "file" input.</p>
<p>I don't know what me must do.<br />
&#8230;..<br />
Thank<br />
Garra</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wojtek</title>
		<link>http://akrabat.com/2008/04/07/simple-zend_form-file-upload-example/#comment-21573</link>
		<dc:creator>Wojtek</dc:creator>
		<pubDate>Wed, 21 May 2008 00:41:49 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=242#comment-21573</guid>
		<description>Thanks for good example!

I think that implementing allowEmpty flag may be good idea. E.g. in App_Form_Element_File::isValid():

if ((!isset($_FILES[$key]) &#124;&#124; !strlen($_FILES[$key]['name'])) &#38;&#38; !$this-&#62;isRequired() &#38;&#38; $this-&#62;getAllowEmpty()) {
    return true;
}</description>
		<content:encoded><![CDATA[<p>Thanks for good example!</p>
<p>I think that implementing allowEmpty flag may be good idea. E.g. in App_Form_Element_File::isValid():</p>
<p>if ((!isset($_FILES[$key]) || !strlen($_FILES[$key]['name'])) &amp;&amp; !$this-&gt;isRequired() &amp;&amp; $this-&gt;getAllowEmpty()) {<br />
    return true;<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>
