<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Unlikely Teacher &#187; Zend_Form_Element_File</title>
	<atom:link href="http://unlikelyteacher.com/tag/zend_form_element_file/feed/" rel="self" type="application/rss+xml" />
	<link>http://unlikelyteacher.com</link>
	<description>1. Share Everything* [Programming Gotchas, Technology News, Insights on Living and Everything in Between]</description>
	<lastBuildDate>Fri, 03 Sep 2010 04:12:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Zend Framework Large File Upload Issues</title>
		<link>http://unlikelyteacher.com/2009/02/03/zend-framework-large-file-upload-issues/</link>
		<comments>http://unlikelyteacher.com/2009/02/03/zend-framework-large-file-upload-issues/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 10:27:30 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[php.ini]]></category>
		<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[Zend_Form_Element_File]]></category>

		<guid isPermaLink="false">http://dayg.slingandstoneweb.com/?p=314</guid>
		<description><![CDATA[I tried modifying this Zend_Form_Element_File example to support larger file uploads but noticed that I&#8217;ve been getting &#8220;Undefined index&#8221; errors when my uploads are bigger than 8MB. Notice: Undefined index: tmp_name in C:\quickstart\library\Zend\File\Transfer\Adapter\Abstract.php on line 589 Notice: Undefined index: name in C:\quickstart\library\Zend\Validate\File\Size.php on line 398 Notice: Undefined index: tmp_name in C:\quickstart\library\Zend\File\Transfer\Adapter\Abstract.php on line 589 Notice: [...]]]></description>
			<content:encoded><![CDATA[<p>I tried modifying this <a href="http://framework.zend.com/manual/en/zend.form.standardElements.html#zend.form.standardElements.file">Zend_Form_Element_File example</a> to support larger file uploads but noticed that I&#8217;ve been getting &#8220;Undefined index&#8221; errors when my uploads are bigger than 8MB.</p>
<blockquote><p>Notice: Undefined index: tmp_name in C:\quickstart\library\Zend\File\Transfer\Adapter\Abstract.php on line 589</p>
<p>Notice: Undefined index: name in C:\quickstart\library\Zend\Validate\File\Size.php on line 398</p>
<p>Notice: Undefined index: tmp_name in C:\quickstart\library\Zend\File\Transfer\Adapter\Abstract.php on line 589</p>
<p>Notice: Undefined index: name in C:\quickstart\library\Zend\Validate\File\Extension.php on line 228</p></blockquote>
<p>Being a PHP and Zend Framework newbie, I wanted to put the blame on Zend but in the end I found the reason for the upload and validation errors after much googling.</p>
<p>The solution requires updating two properties in <a href="http://devzone.zend.com/manual/ini.core.html#ini.post-max-size">php.ini</a>:</p>
<blockquote><p>
upload_max_filesize = 32M<br />
post_max_size = 32M
</p></blockquote>
<p>With these changes you can now upload relatively bigger files!</p>
<p>Just make sure that your <a href="http://www.a2hosting.com/1701-max-upload-size-237-custom.html">hosting provider supports your file upload size settings</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://unlikelyteacher.com/2009/02/03/zend-framework-large-file-upload-issues/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
