CodeIgniter Forums
Uploadify doesn't upload the files that are selected... - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Uploadify doesn't upload the files that are selected... (/thread-25341.html)



Uploadify doesn't upload the files that are selected... - El Forum - 12-09-2009

[eluser]chzigkol[/eluser]
Well, I really don't know if this thread belongs to this forum cause it's about uploadify (jQuery multiple file upload plugin).

I have downloaded and linked the uploadify files in order to upload files via jquery.

This is my code inside my js file

$(document).ready( function() {

$('#pictureuri').uploadify({
'uploader' : 'path to uploadify.swf',
'script' : 'path to uploadify.php',
'cancelImg' : 'path to cancel.png',
'folder' : 'path to media/images'
});
});

and my form goes like this

$picturesUriFileCreate = array(
'name' => 'pictureuri',
'id' => 'pictureuri',
'value' => set_value('pictureuri')
);

<?php echo form_upload($picturesUriFileCreate);?>
<a href="[removed]$('#pictureuri').uploadifyUpload();">Upload File</a>

Everything seems to work fine. The uploadify browse button is appeared, the file that is selected is also appeared on my screen underneath the browse button. When I click on the Upload File link the progress bar comes alive. But when the uploading is finished the file isn't actually uploaded on my server.

I can't find out where I do wrong.

Can anyone help me with this. I'll appreciate it.

Thanks