<?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: Workaround: FileReference onComplete is not fired on Mac OS</title>
	<atom:link href="http://www.abdulqabiz.com/blog/archives/2006/06/09/workaround-filereference-oncomplete-is-not-fired-on-mac-os/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.abdulqabiz.com/blog/archives/2006/06/09/workaround-filereference-oncomplete-is-not-fired-on-mac-os/</link>
	<description>a developer and entrepreneur on web technologies, adobe flash platform (flex, flash, air), web, opensource, linux, free software, usability, startups, India...</description>
	<lastBuildDate>Mon, 08 Mar 2010 13:56:06 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: easymind</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/06/09/workaround-filereference-oncomplete-is-not-fired-on-mac-os/comment-page-1/#comment-2256</link>
		<dc:creator>easymind</dc:creator>
		<pubDate>Wed, 27 May 2009 10:18:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=181#comment-2256</guid>
		<description>The latest flash player fixed the issue for us. 10.0.22.87</description>
		<content:encoded><![CDATA[<p>The latest flash player fixed the issue for us. 10.0.22.87</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emiliano</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/06/09/workaround-filereference-oncomplete-is-not-fired-on-mac-os/comment-page-1/#comment-710</link>
		<dc:creator>Emiliano</dc:creator>
		<pubDate>Thu, 23 Apr 2009 17:28:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=181#comment-710</guid>
		<description>Thanks... this work!
</description>
		<content:encoded><![CDATA[<p>Thanks&#8230; this work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bartman</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/06/09/workaround-filereference-oncomplete-is-not-fired-on-mac-os/comment-page-1/#comment-709</link>
		<dc:creator>bartman</dc:creator>
		<pubDate>Thu, 02 Apr 2009 13:21:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=181#comment-709</guid>
		<description>Thank you so much,
I spent hours finding this bug, concluding it could be solved with a simple echo &quot;&quot;;
it makes you feel so stupid.
But thanx alot.
However in php4 the oncomplete event was triggered automaticcaly.
</description>
		<content:encoded><![CDATA[<p>Thank you so much,<br />
I spent hours finding this bug, concluding it could be solved with a simple echo &#8220;&#8221;;<br />
it makes you feel so stupid.<br />
But thanx alot.<br />
However in php4 the oncomplete event was triggered automaticcaly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philmill</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/06/09/workaround-filereference-oncomplete-is-not-fired-on-mac-os/comment-page-1/#comment-708</link>
		<dc:creator>philmill</dc:creator>
		<pubDate>Tue, 31 Mar 2009 21:15:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=181#comment-708</guid>
		<description>echo (&quot;&quot;);
flush();
worked for my legacy PHP image uploader.
Thanks
</description>
		<content:encoded><![CDATA[<p>echo (&#8221;");<br />
flush();<br />
worked for my legacy PHP image uploader.<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dextrous</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/06/09/workaround-filereference-oncomplete-is-not-fired-on-mac-os/comment-page-1/#comment-707</link>
		<dc:creator>dextrous</dc:creator>
		<pubDate>Fri, 27 Feb 2009 03:21:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=181#comment-707</guid>
		<description>Well I did all those listed above but still i could not make it to work on mac. here&#039;s my upload script:
foreach ($_FILES as $fieldName =&gt; $file) {
$uploadFileName = $file[&#039;name&#039;];
$secret_test = $secret_test . $uploadFileName;
$content1 = str_replace(&quot; &quot;, &quot;_&quot;,$uploadFileName);
$content = &#039;_&#039;.$content1;
move_uploaded_file($file[&#039;tmp_name&#039;],$path.DS.$uploadFileName);
}
where do i place my echo here?
BTW its a multi image upload also. Any information or correction on my code would be helpful. Thanks. :D
</description>
		<content:encoded><![CDATA[<p>Well I did all those listed above but still i could not make it to work on mac. here&#8217;s my upload script:<br />
foreach ($_FILES as $fieldName => $file) {<br />
$uploadFileName = $file['name'];<br />
$secret_test = $secret_test . $uploadFileName;<br />
$content1 = str_replace(&#8221; &#8220;, &#8220;_&#8221;,$uploadFileName);<br />
$content = &#8216;_&#8217;.$content1;<br />
move_uploaded_file($file['tmp_name'],$path.DS.$uploadFileName);<br />
}<br />
where do i place my echo here?<br />
BTW its a multi image upload also. Any information or correction on my code would be helpful. Thanks. <img src='http://www.abdulqabiz.com/wordpress/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron Christopher</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/06/09/workaround-filereference-oncomplete-is-not-fired-on-mac-os/comment-page-1/#comment-706</link>
		<dc:creator>Aaron Christopher</dc:creator>
		<pubDate>Tue, 03 Feb 2009 23:39:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=181#comment-706</guid>
		<description>Thank you very much! This worked perfectly for me... just put echo(&quot;1&quot;); after your upload script, and that should cause the onComplete handler to fire on macs.
Thanks again!
Aaron
</description>
		<content:encoded><![CDATA[<p>Thank you very much! This worked perfectly for me&#8230; just put echo(&#8221;1&#8243;); after your upload script, and that should cause the onComplete handler to fire on macs.<br />
Thanks again!<br />
Aaron</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dColumbus</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/06/09/workaround-filereference-oncomplete-is-not-fired-on-mac-os/comment-page-1/#comment-705</link>
		<dc:creator>dColumbus</dc:creator>
		<pubDate>Mon, 02 Feb 2009 19:17:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=181#comment-705</guid>
		<description>What about in ColdFusion?
</description>
		<content:encoded><![CDATA[<p>What about in ColdFusion?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vishal</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/06/09/workaround-filereference-oncomplete-is-not-fired-on-mac-os/comment-page-1/#comment-704</link>
		<dc:creator>vishal</dc:creator>
		<pubDate>Fri, 07 Nov 2008 12:39:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=181#comment-704</guid>
		<description>echo &quot;1&quot;; work perfectly...
you saved my job!!!!
thanks a lot.... :)
</description>
		<content:encoded><![CDATA[<p>echo &#8220;1&#8243;; work perfectly&#8230;<br />
you saved my job!!!!<br />
thanks a lot&#8230;. <img src='http://www.abdulqabiz.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott McDonald</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/06/09/workaround-filereference-oncomplete-is-not-fired-on-mac-os/comment-page-1/#comment-703</link>
		<dc:creator>Scott McDonald</dc:creator>
		<pubDate>Wed, 29 Oct 2008 22:27:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=181#comment-703</guid>
		<description>I too would like to thank you for this post. it was the first one i found because of the title, and it solved the problem straight away... hazzah!
</description>
		<content:encoded><![CDATA[<p>I too would like to thank you for this post. it was the first one i found because of the title, and it solved the problem straight away&#8230; hazzah!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Wigginton</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/06/09/workaround-filereference-oncomplete-is-not-fired-on-mac-os/comment-page-1/#comment-702</link>
		<dc:creator>Brian Wigginton</dc:creator>
		<pubDate>Mon, 27 Oct 2008 17:37:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=181#comment-702</guid>
		<description>AWESOME, this worked perfectly!
echo &quot; &quot;;
</description>
		<content:encoded><![CDATA[<p>AWESOME, this worked perfectly!<br />
echo &#8221; &#8220;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sunny</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/06/09/workaround-filereference-oncomplete-is-not-fired-on-mac-os/comment-page-1/#comment-701</link>
		<dc:creator>sunny</dc:creator>
		<pubDate>Tue, 16 Sep 2008 08:55:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=181#comment-701</guid>
		<description>Thanks a lot for this post...echo &quot; &quot;(space in there) worked for me. :)
</description>
		<content:encoded><![CDATA[<p>Thanks a lot for this post&#8230;echo &#8221; &#8220;(space in there) worked for me. <img src='http://www.abdulqabiz.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Grdinic</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/06/09/workaround-filereference-oncomplete-is-not-fired-on-mac-os/comment-page-1/#comment-700</link>
		<dc:creator>Matthew Grdinic</dc:creator>
		<pubDate>Wed, 10 Sep 2008 21:31:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=181#comment-700</guid>
		<description>Excellent fix, thanks for posting.
However, this behavior doesn&#039;t seem like a bug (but I know, it is a bug). The fact that our scripts should tell flash that the upload actually worked seems like a smart thing to do.
In fixing this, I would find it a plus if Adobe required that some response was written that could be checked, as this would make our applications that rely on Flash file uploads more flexible if an error did occur during upload.
</description>
		<content:encoded><![CDATA[<p>Excellent fix, thanks for posting.<br />
However, this behavior doesn&#8217;t seem like a bug (but I know, it is a bug). The fact that our scripts should tell flash that the upload actually worked seems like a smart thing to do.<br />
In fixing this, I would find it a plus if Adobe required that some response was written that could be checked, as this would make our applications that rely on Flash file uploads more flexible if an error did occur during upload.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zarate</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/06/09/workaround-filereference-oncomplete-is-not-fired-on-mac-os/comment-page-1/#comment-699</link>
		<dc:creator>Zarate</dc:creator>
		<pubDate>Fri, 05 Sep 2008 15:34:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=181#comment-699</guid>
		<description>Only Aral&#039;s trick worked for me (PHP):
die(&#039;&amp;bError=0&amp;&#039;);
And even so it takes between 0.5 to 1 second to actually fire up the event.
It&#039;s awesome that after so many time this is not in the reference itself...
Thanks a lot for sharing
</description>
		<content:encoded><![CDATA[<p>Only Aral&#8217;s trick worked for me (PHP):<br />
die(&#8217;&#038;bError=0&#038;&#8217;);<br />
And even so it takes between 0.5 to 1 second to actually fire up the event.<br />
It&#8217;s awesome that after so many time this is not in the reference itself&#8230;<br />
Thanks a lot for sharing</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adriana</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/06/09/workaround-filereference-oncomplete-is-not-fired-on-mac-os/comment-page-1/#comment-698</link>
		<dc:creator>Adriana</dc:creator>
		<pubDate>Tue, 26 Aug 2008 01:02:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=181#comment-698</guid>
		<description>THANK YOUUUUUUUUUUUUU! SO MUUUUUUUUUUUUUUUCH!
</description>
		<content:encoded><![CDATA[<p>THANK YOUUUUUUUUUUUUU! SO MUUUUUUUUUUUUUUUCH!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rodrigopoloDOTcom</title>
		<link>http://www.abdulqabiz.com/blog/archives/2006/06/09/workaround-filereference-oncomplete-is-not-fired-on-mac-os/comment-page-1/#comment-697</link>
		<dc:creator>rodrigopoloDOTcom</dc:creator>
		<pubDate>Sat, 28 Jun 2008 09:27:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.abdulqabiz.com/wordpress/?p=181#comment-697</guid>
		<description>The final solution is that the server script responds &#039;&amp;bError=0&amp;&#039;
in PHP could it be
die(&#039;&amp;bError=0&amp;&#039;);
echo &#039;&amp;bError=0&amp;&#039;; exit;
etc.
</description>
		<content:encoded><![CDATA[<p>The final solution is that the server script responds &#8216;&#038;bError=0&#038;&#8217;<br />
in PHP could it be<br />
die(&#8217;&#038;bError=0&#038;&#8217;);<br />
echo &#8216;&#038;bError=0&#038;&#8217;; exit;<br />
etc.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
