<?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 for Moki Systems Blog</title>
	<atom:link href="http://www.mokisystems.com/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mokisystems.com/blog</link>
	<description>Addressing such topics as: web programming, design, ruby on rails, cake php, postgresql, linux, seo</description>
	<pubDate>Tue, 07 Oct 2008 00:39:47 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>Comment on Ajax multi file upload with php, iframe, &#038; javascript by Sven</title>
		<link>http://www.mokisystems.com/blog/ajax-multi-file-upload-with-php-iframe-javascript/#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'm having problems with FF3. in other browsers it's working fine but with FF3 all i get is "There was an error during file upload!.Unsupported file type, must be JPG&#124;PNG&#124;GIF&#124;BMP.". of course i'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>Comment on Flash AS3 Loading Fonts by DouG Molidor</title>
		<link>http://www.mokisystems.com/blog/flash-as3-loading-fonts/#comment-124</link>
		<dc:creator>DouG Molidor</dc:creator>
		<pubDate>Tue, 30 Sep 2008 05:16:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.mokisystems.com/blog/flash-as3-loading-fonts/#comment-124</guid>
		<description>Just what I was looking for. The Class worked great right off the bat too for what I need.</description>
		<content:encoded><![CDATA[<p>Just what I was looking for. The Class worked great right off the bat too for what I need.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flash AS3 Loading Fonts by tox</title>
		<link>http://www.mokisystems.com/blog/flash-as3-loading-fonts/#comment-121</link>
		<dc:creator>tox</dc:creator>
		<pubDate>Mon, 29 Sep 2008 19:55:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.mokisystems.com/blog/flash-as3-loading-fonts/#comment-121</guid>
		<description>thanks a lot, finally one solution that works. great, kudos!

tox</description>
		<content:encoded><![CDATA[<p>thanks a lot, finally one solution that works. great, kudos!</p>
<p>tox</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flash AS3 Loading Fonts by Vaughn</title>
		<link>http://www.mokisystems.com/blog/flash-as3-loading-fonts/#comment-115</link>
		<dc:creator>Vaughn</dc:creator>
		<pubDate>Fri, 05 Sep 2008 14:10:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.mokisystems.com/blog/flash-as3-loading-fonts/#comment-115</guid>
		<description>Line 35 has an html error in it. ( the less than sign ) :P</description>
		<content:encoded><![CDATA[<p>Line 35 has an html error in it. ( the less than sign ) <img src='http://www.mokisystems.com/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ajax multi file upload with php, iframe, &#038; javascript by Ken</title>
		<link>http://www.mokisystems.com/blog/ajax-multi-file-upload-with-php-iframe-javascript/#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."_th.$function_suffix";
	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 = "Couldn't Copy Thumbnail to Filesystem";
	}

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>Comment on Ajax multi file upload with php, iframe, &#038; javascript by Ken</title>
		<link>http://www.mokisystems.com/blog/ajax-multi-file-upload-with-php-iframe-javascript/#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 "imageid_th.jpg"</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>
	<item>
		<title>Comment on Ajax multi file upload with php, iframe, &#038; javascript by Sean</title>
		<link>http://www.mokisystems.com/blog/ajax-multi-file-upload-with-php-iframe-javascript/#comment-98</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Thu, 31 Jul 2008 19:04:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.mokisystems.com/blog/?p=28#comment-98</guid>
		<description>Hey thanks, that worked perfectly!.  I appreciate the quick response.

Sean</description>
		<content:encoded><![CDATA[<p>Hey thanks, that worked perfectly!.  I appreciate the quick response.</p>
<p>Sean</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ajax multi file upload with php, iframe, &#038; javascript by andrew</title>
		<link>http://www.mokisystems.com/blog/ajax-multi-file-upload-with-php-iframe-javascript/#comment-97</link>
		<dc:creator>andrew</dc:creator>
		<pubDate>Thu, 31 Jul 2008 16:14:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.mokisystems.com/blog/?p=28#comment-97</guid>
		<description>Sean

It could be a number of things.  It sounds like the "thumbnail.php" is not outputting it to the browser.  It is also possible that the upload.php file is adding the thumbnail picture id to the Session.  Try commenting out the following line of code in the thumbnail.php:

Make
&lt;code&gt;header("Content-Length: ".strlen($_SESSION["file_info"][$image_id]));&lt;/code&gt;
Becomes
&lt;code&gt;//header("Content-Length: ".strlen($_SESSION["file_info"][$image_id]));&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Sean</p>
<p>It could be a number of things.  It sounds like the &#8220;thumbnail.php&#8221; is not outputting it to the browser.  It is also possible that the upload.php file is adding the thumbnail picture id to the Session.  Try commenting out the following line of code in the thumbnail.php:</p>
<p>Make<br />
<code>header("Content-Length: ".strlen($_SESSION["file_info"][$image_id]));</code><br />
Becomes<br />
<code>//header("Content-Length: ".strlen($_SESSION["file_info"][$image_id]));</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ajax multi file upload with php, iframe, &#038; javascript by Sean</title>
		<link>http://www.mokisystems.com/blog/ajax-multi-file-upload-with-php-iframe-javascript/#comment-96</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Thu, 31 Jul 2008 15:56:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.mokisystems.com/blog/?p=28#comment-96</guid>
		<description>Hello.  I am running into a problem using your little script here for multi-file uploading.  In my xampp environment on my laptop I am running php version 5.2.5 and the code works completely fine in both Firefox 3.0 and IE7.  However when I upload it to my website, any image file I upload will upload just fine, yet the thumbnail that is supposed to be generated does not display.

If I view the source I can see where it creates an img tag like  but it does not display that image.  Any ideas on why this might be?

Since the code is the same from my laptop to my website and the only thing different is the version of php that is running between the two the only thing I can think of is that there is something missing from the version of php that my website is running which is php version 4.4.8.  Any help would be greatly appreciated.

Thanks,
Sean Meyer</description>
		<content:encoded><![CDATA[<p>Hello.  I am running into a problem using your little script here for multi-file uploading.  In my xampp environment on my laptop I am running php version 5.2.5 and the code works completely fine in both Firefox 3.0 and IE7.  However when I upload it to my website, any image file I upload will upload just fine, yet the thumbnail that is supposed to be generated does not display.</p>
<p>If I view the source I can see where it creates an img tag like  but it does not display that image.  Any ideas on why this might be?</p>
<p>Since the code is the same from my laptop to my website and the only thing different is the version of php that is running between the two the only thing I can think of is that there is something missing from the version of php that my website is running which is php version 4.4.8.  Any help would be greatly appreciated.</p>
<p>Thanks,<br />
Sean Meyer</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flash AS3 Loading Fonts by The Field &#187; Archive &#187; Loading fonts at runtime in Flash</title>
		<link>http://www.mokisystems.com/blog/flash-as3-loading-fonts/#comment-93</link>
		<dc:creator>The Field &#187; Archive &#187; Loading fonts at runtime in Flash</dc:creator>
		<pubDate>Tue, 22 Jul 2008 17:13:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.mokisystems.com/blog/flash-as3-loading-fonts/#comment-93</guid>
		<description>[...] Looks useful - if you like this kind of thing Add to your fave social site: [...]</description>
		<content:encoded><![CDATA[<p>[...] Looks useful - if you like this kind of thing Add to your fave social site: [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
