<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Simple Zend_Form File Upload Example</title>
	<atom:link href="http://akrabat.com/php/simple-zend_form-file-upload-example/feed/" rel="self" type="application/rss+xml" />
	<link>http://akrabat.com/php/simple-zend_form-file-upload-example/</link>
	<description>Developing PHP software in the Real World, by Rob Allen</description>
	<lastBuildDate>Mon, 15 Mar 2010 21:29:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: venkat</title>
		<link>http://akrabat.com/php/simple-zend_form-file-upload-example/#comment-31954</link>
		<dc:creator>venkat</dc:creator>
		<pubDate>Mon, 15 Mar 2010 11:38:08 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=242#comment-31954</guid>
		<description>iam using zend frame work1.10


public function uploadAction()
{
$up = new Application_Form_Fuldf();
$this-&gt;view-&gt;form = $up;
$a = $up-&gt;getvalues(file1);
if($this-&gt;getRequest()-&gt;isPost()) {
if($up-&gt;isValid($_POST)) {
$adapter = new Zend_File_Transfer_Adapter_Abstract();
$uploadDir = $_SERVER[&#039;DOCUMENT_ROOT&#039;];
$a = $adapter-&gt;setDestination($uploadDir);

}
}
}
/**** this is my code for file upload when ever iam uploading it is uploading to my tmp folder
how to set the destination path to my webserver
thanks in advance</description>
		<content:encoded><![CDATA[<p>iam using zend frame work1.10</p>
<p>public function uploadAction()<br />
{<br />
$up = new Application_Form_Fuldf();<br />
$this-&gt;view-&gt;form = $up;<br />
$a = $up-&gt;getvalues(file1);<br />
if($this-&gt;getRequest()-&gt;isPost()) {<br />
if($up-&gt;isValid($_POST)) {<br />
$adapter = new Zend_File_Transfer_Adapter_Abstract();<br />
$uploadDir = $_SERVER['DOCUMENT_ROOT'];<br />
$a = $adapter-&gt;setDestination($uploadDir);</p>
<p>}<br />
}<br />
}<br />
/**** this is my code for file upload when ever iam uploading it is uploading to my tmp folder<br />
how to set the destination path to my webserver<br />
thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Benj_em</title>
		<link>http://akrabat.com/php/simple-zend_form-file-upload-example/#comment-26348</link>
		<dc:creator>Benj_em</dc:creator>
		<pubDate>Tue, 12 May 2009 12:30:03 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=242#comment-26348</guid>
		<description>I can&#039;t find anywhere here that there&#039;s any mention of how to actually save the uploaded file to a directory (or save it&#039;s info to a database). I can get the uploadedData array dump to work but how do I save the file to a directory?</description>
		<content:encoded><![CDATA[<p>I can't find anywhere here that there's any mention of how to actually save the uploaded file to a directory (or save it's info to a database). I can get the uploadedData array dump to work but how do I save the file to a directory?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://akrabat.com/php/simple-zend_form-file-upload-example/#comment-23597</link>
		<dc:creator>David</dc:creator>
		<pubDate>Mon, 24 Nov 2008 15:41:53 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=242#comment-23597</guid>
		<description>Hi!

I have a problem with temporary direcotory. When I try to upload a file, I&#039;ve got a message like this: 

&quot;Fatal error: Uncaught exception &#039;Zend_File_Transfer_Exception&#039; with message &#039;Could not determine temp directory&#039; in...&quot;

Does anybody know what this message mean?
David</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>I have a problem with temporary direcotory. When I try to upload a file, I've got a message like this: </p>
<p>"Fatal error: Uncaught exception 'Zend_File_Transfer_Exception' with message 'Could not determine temp directory' in..."</p>
<p>Does anybody know what this message mean?<br />
David</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob...</title>
		<link>http://akrabat.com/php/simple-zend_form-file-upload-example/#comment-23522</link>
		<dc:creator>Rob...</dc:creator>
		<pubDate>Fri, 21 Nov 2008 10:01:07 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=242#comment-23522</guid>
		<description>Miguel, 

The latest version of ZF (1.7) has a robust file transfer component built in. It&#039;s worth looking at.

Regards,

Rob...</description>
		<content:encoded><![CDATA[<p>Miguel, </p>
<p>The latest version of ZF (1.7) has a robust file transfer component built in. It's worth looking at.</p>
<p>Regards,</p>
<p>Rob...</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob...</title>
		<link>http://akrabat.com/php/simple-zend_form-file-upload-example/#comment-23521</link>
		<dc:creator>Rob...</dc:creator>
		<pubDate>Fri, 21 Nov 2008 10:00:10 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=242#comment-23521</guid>
		<description>Pola,

I&#039;m pretty sure that the mailing list archives have information on this.

Regards,

Rob...</description>
		<content:encoded><![CDATA[<p>Pola,</p>
<p>I'm pretty sure that the mailing list archives have information on this.</p>
<p>Regards,</p>
<p>Rob...</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miguel Melo</title>
		<link>http://akrabat.com/php/simple-zend_form-file-upload-example/#comment-23452</link>
		<dc:creator>Miguel Melo</dc:creator>
		<pubDate>Sat, 15 Nov 2008 20:46:35 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=242#comment-23452</guid>
		<description>Hi, can anyone tell me how and where do i control the file name ? And assigned the name by a variable ? For example: I have an upload form and i want that the uploaded file stays with the name i&#039;ve given in the a field of the form. Can anyone help me ?</description>
		<content:encoded><![CDATA[<p>Hi, can anyone tell me how and where do i control the file name ? And assigned the name by a variable ? For example: I have an upload form and i want that the uploaded file stays with the name i've given in the a field of the form. Can anyone help me ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pola</title>
		<link>http://akrabat.com/php/simple-zend_form-file-upload-example/#comment-23436</link>
		<dc:creator>Pola</dc:creator>
		<pubDate>Thu, 13 Nov 2008 22:07:09 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=242#comment-23436</guid>
		<description>Rob, Your tutorial is very good. Do you have screenshot examaples of how to build a zend table using decorators. 

I am trying to build dynamic table with several rows and 3 colums, but the problem i&#039;m facing is it is creating each column in a row . so its like a stair case in a row and the next rows is the same as the 1st row and the colums are like staircase

How to have multiple colums in a row?

Ansy help will be appreciated.

Thanks,</description>
		<content:encoded><![CDATA[<p>Rob, Your tutorial is very good. Do you have screenshot examaples of how to build a zend table using decorators. </p>
<p>I am trying to build dynamic table with several rows and 3 colums, but the problem i'm facing is it is creating each column in a row . so its like a stair case in a row and the next rows is the same as the 1st row and the colums are like staircase</p>
<p>How to have multiple colums in a row?</p>
<p>Ansy help will be appreciated.</p>
<p>Thanks,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexandr</title>
		<link>http://akrabat.com/php/simple-zend_form-file-upload-example/#comment-22911</link>
		<dc:creator>Alexandr</dc:creator>
		<pubDate>Fri, 12 Sep 2008 13:49:19 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=242#comment-22911</guid>
		<description>Hi!

For setting form enctype attribute imho it&#039;s more logical to use:

$this-&gt;setEnctype(&#039;multipart/form-data&#039;);

instead of:

$this-&gt;setAttrib(&#039;enctype&#039;, &#039;multipart/form-data&#039;);</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>For setting form enctype attribute imho it's more logical to use:</p>
<p>$this-&gt;setEnctype('multipart/form-data');</p>
<p>instead of:</p>
<p>$this-&gt;setAttrib('enctype', 'multipart/form-data');</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob...</title>
		<link>http://akrabat.com/php/simple-zend_form-file-upload-example/#comment-22786</link>
		<dc:creator>Rob...</dc:creator>
		<pubDate>Sun, 31 Aug 2008 08:17:43 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=242#comment-22786</guid>
		<description>iMPeRiOR,

The official file upload component will be in version 1.6.

Vefeer,
Maybe encode to base64 and insert?

kusanagi,
You can do whatever you like once the file is uploaded :)

Regards,

Rob...</description>
		<content:encoded><![CDATA[<p>iMPeRiOR,</p>
<p>The official file upload component will be in version 1.6.</p>
<p>Vefeer,<br />
Maybe encode to base64 and insert?</p>
<p>kusanagi,<br />
You can do whatever you like once the file is uploaded :)</p>
<p>Regards,</p>
<p>Rob...</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kusanagi</title>
		<link>http://akrabat.com/php/simple-zend_form-file-upload-example/#comment-22783</link>
		<dc:creator>kusanagi</dc:creator>
		<pubDate>Sun, 31 Aug 2008 03:24:44 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=242#comment-22783</guid>
		<description>Hi!
I have a problem when using Zend_Form_Element_File . Can I modify file_name after upload ?
Thank you</description>
		<content:encoded><![CDATA[<p>Hi!<br />
I have a problem when using Zend_Form_Element_File . Can I modify file_name after upload ?<br />
Thank you</p>
]]></content:encoded>
	</item>
</channel>
</rss>
