[eluser]drago_[/eluser]
I saw a solution to this problem. You modify the upload.php file form library directory:
Code:
function is_allowed_filetype()
{
if (count($this->allowed_types) == 0 OR ! is_array($this->allowed_types))
{
$this->set_error('upload_no_file_types');
return FALSE;
}
if (in_array("*", $this->allowed_types))
{
return TRUE;
}
$image_types = array('gif', 'jpg', 'jpeg', 'png', 'jpe');
foreach ($this->allowed_types as $val) //...
.
Then you can use like this:
Code:
$this->load->library('upload', $config);
$this->upload->set_allowed_types('*');
It's working fine. The only problem is that you dont have a progress bar or something to echo the progress. And i cant find scripts for this problem.