[eluser]asmode[/eluser]
Hi,
i want to upload .sql file for import but i take this message:
The filetype you are attempting to upload is not allowed.
i write
$config['allowed_types'] = 'csv|x-sql';
to upload csv and sql files.
what can i do?
[eluser]asmode[/eluser]
[quote author="pistolPete" date="1251309961"]What mime type does the browser send?
Add it to the $mimes array in mimes.php.[/quote]
thanks
i added this line to mimes array: 'sql' => 'text/x-sql'