<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Zendcasts Forum / file field not request]]></title>
		<link>http://www.zendcasts.com/forum/viewtopic.php?id=86</link>
		<description><![CDATA[The most recent posts in file field not request.]]></description>
		<lastBuildDate>Fri, 30 Oct 2009 15:52:50 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: file field not request]]></title>
			<link>http://www.zendcasts.com/forum/viewtopic.php?pid=309#p309</link>
			<description><![CDATA[<p>you need to setup the form to accept multiple mimetypes:<br />$form = new Zend_Form();<br />$form-&gt;setAttrib(&#039;enctype&#039;, &#039;multipart/form-data&#039;);</p><p>also, if I remember correctly, getPost(); will not include stuff from the $_FILES PHP namespace. You can get around this with a little hack though:</p><p>&#160; &#160; &#160; &#160; $_POST = array_merge($_POST, $_FILES); </p><p>or just access $_FILES directly</p>]]></description>
			<author><![CDATA[dummy@example.com (Jon)]]></author>
			<pubDate>Fri, 30 Oct 2009 15:52:50 +0000</pubDate>
			<guid>http://www.zendcasts.com/forum/viewtopic.php?pid=309#p309</guid>
		</item>
		<item>
			<title><![CDATA[file field not request]]></title>
			<link>http://www.zendcasts.com/forum/viewtopic.php?pid=307#p307</link>
			<description><![CDATA[<p>I have a form with a file field, press SEND and when loading the controller for the recovery of field can not retrieve the file field why?</p><br /><div class="codebox"><pre><code>$request = $this-&gt;getRequest();
$result = $request-&gt;getPost();
Zend_Debug::dump($result);

//where file field???</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (alessio)]]></author>
			<pubDate>Wed, 28 Oct 2009 15:30:31 +0000</pubDate>
			<guid>http://www.zendcasts.com/forum/viewtopic.php?pid=307#p307</guid>
		</item>
	</channel>
</rss>

