Solution for Flash Cookie Bug

Upon testing, `.htaccess` for `uplloadify.php` might solve the problem. It removes authentication for that certain file and prevents firefox from crashing.

I create .htaccess file within the same folder with uploadify.php. Below is my .htaccess. read more...
<Files "uploadify.php">
Satisfy Any
</Files>

And here is my script for uploader

<script type="text/javascript">
$(document).ready(function() {
$("#uploadify").uploadify({
'uploader' : '/scripts/uploadify.swf',
'script' : '/scripts/uploadify.php',
'cancelImg' : '/images/cancel.png',
'buttonImg' : '/images/browse.jpg',
'width' : 498,
'height' : 24,
'folder' : '/uploads/videos',
'queueID' : 'fileQueue',
'auto' : true,
'multi' : false,
'sizeLimit' : 102400000,
'fileExt' : "*.avi;*.mov;*.mpg;*.mpeg;",
'fileDesc' : "*.avi, *.mov, *.mpg, *.mpeg"
});
});
</script>

I hope this helps

Comments

revive said…
tried this and every other solution on the Uploadify forum.. no dice.. keep getting Error IO : #2038 .. tried sessions, .htaccess. etc,.. the Uploadify demo, right out of the box doesn't work with the paths set to the files as well... oh well,
High hopes for uploadify... dashed for now. :)
Anonymous said…
this one works for me ...big big thanks

Popular posts from this blog

How to download install Heroes of Newerth

Firefox Tricks and tips