[eluser]dimis[/eluser]
I have an upload form for pdf files.
I have this code
Code:
$config['upload_path'] = './pdf/';
$config['allowed_types'] = 'pdf';
$this->load->library('upload', $config);
if ( ! $this->upload->do_upload())
{ die( $this->upload->display_errors());
}
else
{.....}
I upload a pdf file but there is this error
Quote:The filetype you are attempting to upload is not allowed.
At my xamplite setup this code work ok, what is wrong?
What extension Have I to give?
Dimis