[eluser]zrowcrypt[/eluser]
I am using uploadify to just create the filearray queue. I want to control the processing of the files and how they are uploaded using my logic in the model so i am not using uploadify.php
VIEW snippet:
=============
<?php echo form_upload('userfile', '', 'id="fileInput"'); ?>
[removed]// <![CDATA[
$(document).ready(function()
{
$('#fileInput').uploadify(
{
'uploader' : '<?php echo base_url();?>uploadifyplug/uploadify.swf',
'script' : '<?php echo base_url();?>uploadifyplug/uploadify.php',
'cancelImg' : '<?php echo base_url();?>uploadifyplug/cancel.png',
'auto' : true,
'multi' :true,
'folder' : '<?php echo base_url();?>uploadifyplug/pics' //Is not being used.
});
});
// ]]>[removed]
<div class="submit_div"><?php echo form_submit('submit', 'Submit'); ?></div>
CONTROLLER:
============
if($this->input->post('submit'))
{
print_r($_FILES['userfile']);
}
RESULT
=========
Empty array
I am new to both CI and uploadify so I could have misunderstood something very basic. Please help me understand. Thanks.