<?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: Ajax multi file upload with php, iframe, &amp; javascript</title>
	<atom:link href="http://www.mokisystems.com/blog/ajax-multi-file-upload-with-php-iframe-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mokisystems.com/blog/ajax-multi-file-upload-with-php-iframe-javascript/</link>
	<description>Addressing such topics as: web programming, design, ruby on rails, cake php, postgresql, linux, seo</description>
	<lastBuildDate>Sat, 20 Feb 2010 02:04:55 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jason</title>
		<link>http://www.mokisystems.com/blog/ajax-multi-file-upload-with-php-iframe-javascript/comment-page-1/#comment-576</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Tue, 27 Oct 2009 15:15:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.mokisystems.com/blog/?p=28#comment-576</guid>
		<description>Demo is working great! What is about remove and session destroy? When I don&#039;t want picture then I decided to remove picture but still session keep there should remove session, too.

For example:

I click upload file for picture then uploaded then made a mistake I should click remove then remove picture and memory session should remove like destroy session.

That&#039;s idea.</description>
		<content:encoded><![CDATA[<p>Demo is working great! What is about remove and session destroy? When I don&#8217;t want picture then I decided to remove picture but still session keep there should remove session, too.</p>
<p>For example:</p>
<p>I click upload file for picture then uploaded then made a mistake I should click remove then remove picture and memory session should remove like destroy session.</p>
<p>That&#8217;s idea.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Srini</title>
		<link>http://www.mokisystems.com/blog/ajax-multi-file-upload-with-php-iframe-javascript/comment-page-1/#comment-497</link>
		<dc:creator>Srini</dc:creator>
		<pubDate>Wed, 10 Jun 2009 04:51:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.mokisystems.com/blog/?p=28#comment-497</guid>
		<description>Hi,

The demo script is working great!
Can you please help me on how to retrict to upload only 4 or 5 etc., files.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>The demo script is working great!<br />
Can you please help me on how to retrict to upload only 4 or 5 etc., files.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie</title>
		<link>http://www.mokisystems.com/blog/ajax-multi-file-upload-with-php-iframe-javascript/comment-page-1/#comment-472</link>
		<dc:creator>Jamie</dc:creator>
		<pubDate>Tue, 17 Mar 2009 09:02:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.mokisystems.com/blog/?p=28#comment-472</guid>
		<description>How do I change the script so that it doesnt change the name of the file so if  I upload googleLogo.jpg I want the file name on the server to be googleLogo.jpg</description>
		<content:encoded><![CDATA[<p>How do I change the script so that it doesnt change the name of the file so if  I upload googleLogo.jpg I want the file name on the server to be googleLogo.jpg</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: angelivene</title>
		<link>http://www.mokisystems.com/blog/ajax-multi-file-upload-with-php-iframe-javascript/comment-page-1/#comment-409</link>
		<dc:creator>angelivene</dc:creator>
		<pubDate>Sun, 01 Mar 2009 07:10:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.mokisystems.com/blog/?p=28#comment-409</guid>
		<description>hi, would like to know how to upload multiple files? i already tried the script but unable to select multiple files</description>
		<content:encoded><![CDATA[<p>hi, would like to know how to upload multiple files? i already tried the script but unable to select multiple files</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: push</title>
		<link>http://www.mokisystems.com/blog/ajax-multi-file-upload-with-php-iframe-javascript/comment-page-1/#comment-322</link>
		<dc:creator>push</dc:creator>
		<pubDate>Tue, 20 Jan 2009 20:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.mokisystems.com/blog/?p=28#comment-322</guid>
		<description>any idea how to display thumbnails using ajax.... i create the thumbnails on the fly in a php but unable to show that ouput using ajax to the browser... although i f i don use ajax i can see that on browser</description>
		<content:encoded><![CDATA[<p>any idea how to display thumbnails using ajax&#8230;. i create the thumbnails on the fly in a php but unable to show that ouput using ajax to the browser&#8230; although i f i don use ajax i can see that on browser</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: apex</title>
		<link>http://www.mokisystems.com/blog/ajax-multi-file-upload-with-php-iframe-javascript/comment-page-1/#comment-319</link>
		<dc:creator>apex</dc:creator>
		<pubDate>Wed, 07 Jan 2009 11:12:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.mokisystems.com/blog/?p=28#comment-319</guid>
		<description>here, i setup a simple demo (no files are changed).
try to upload more than 2 images with no error. i can&#039;t

http://apextest.awardspace.com/</description>
		<content:encoded><![CDATA[<p>here, i setup a simple demo (no files are changed).<br />
try to upload more than 2 images with no error. i can&#8217;t</p>
<p><a href="http://apextest.awardspace.com/" rel="nofollow">http://apextest.awardspace.com/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: apex</title>
		<link>http://www.mokisystems.com/blog/ajax-multi-file-upload-with-php-iframe-javascript/comment-page-1/#comment-318</link>
		<dc:creator>apex</dc:creator>
		<pubDate>Wed, 07 Jan 2009 09:51:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.mokisystems.com/blog/?p=28#comment-318</guid>
		<description>nice script but thumb&#039;s are not showing. I have tryed suggestions above, but nothing work&#039;s. When i go trough firebug i don&#039;t have any errors in code, but something is not working. Im stuck here please suggest? I use php5 and GD is working fine, tryed in firefox3 and ie6</description>
		<content:encoded><![CDATA[<p>nice script but thumb&#8217;s are not showing. I have tryed suggestions above, but nothing work&#8217;s. When i go trough firebug i don&#8217;t have any errors in code, but something is not working. Im stuck here please suggest? I use php5 and GD is working fine, tryed in firefox3 and ie6</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sven</title>
		<link>http://www.mokisystems.com/blog/ajax-multi-file-upload-with-php-iframe-javascript/comment-page-1/#comment-125</link>
		<dc:creator>Sven</dc:creator>
		<pubDate>Tue, 30 Sep 2008 10:50:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.mokisystems.com/blog/?p=28#comment-125</guid>
		<description>was looking for such a detailed tutorial for quite a while. very cool. however i&#039;m having problems with FF3. in other browsers it&#039;s working fine but with FF3 all i get is &quot;There was an error during file upload!.Unsupported file type, must be JPG&#124;PNG&#124;GIF&#124;BMP.&quot;. of course i&#039;m trying to upload a jpg. any ideas?</description>
		<content:encoded><![CDATA[<p>was looking for such a detailed tutorial for quite a while. very cool. however i&#8217;m having problems with FF3. in other browsers it&#8217;s working fine but with FF3 all i get is &#8220;There was an error during file upload!.Unsupported file type, must be JPG|PNG|GIF|BMP.&#8221;. of course i&#8217;m trying to upload a jpg. any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken</title>
		<link>http://www.mokisystems.com/blog/ajax-multi-file-upload-with-php-iframe-javascript/comment-page-1/#comment-101</link>
		<dc:creator>Ken</dc:creator>
		<pubDate>Tue, 05 Aug 2008 02:46:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.mokisystems.com/blog/?p=28#comment-101</guid>
		<description>^^ I spoke too soon!

After you create the unique id or name for the image, create one for the thumbnail as well:

####//// create a thumbnail image as well
	$thumb_name = $file_id.&quot;_th.$function_suffix&quot;;
	imagejpeg($new_img, $thumb_name);

And then you can upload it just like you did the image:

###// Move thumbnail image to uploaddir location
	if(!@move_uploaded_file($thumb_name, $target_path)){
		$err = &quot;Couldn&#039;t Copy Thumbnail to Filesystem&quot;;
	}

Thanks again for this great script!</description>
		<content:encoded><![CDATA[<p>^^ I spoke too soon!</p>
<p>After you create the unique id or name for the image, create one for the thumbnail as well:</p>
<p>####//// create a thumbnail image as well<br />
	$thumb_name = $file_id.&#8221;_th.$function_suffix&#8221;;<br />
	imagejpeg($new_img, $thumb_name);</p>
<p>And then you can upload it just like you did the image:</p>
<p>###// Move thumbnail image to uploaddir location<br />
	if(!@move_uploaded_file($thumb_name, $target_path)){<br />
		$err = &#8220;Couldn&#8217;t Copy Thumbnail to Filesystem&#8221;;<br />
	}</p>
<p>Thanks again for this great script!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken</title>
		<link>http://www.mokisystems.com/blog/ajax-multi-file-upload-with-php-iframe-javascript/comment-page-1/#comment-100</link>
		<dc:creator>Ken</dc:creator>
		<pubDate>Tue, 05 Aug 2008 01:39:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.mokisystems.com/blog/?p=28#comment-100</guid>
		<description>This is a great script, i just need some help on how to actually create and save a thumbnail of the image being uploaded, like &quot;imageid_th.jpg&quot;</description>
		<content:encoded><![CDATA[<p>This is a great script, i just need some help on how to actually create and save a thumbnail of the image being uploaded, like &#8220;imageid_th.jpg&#8221;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
