Hello all iam working on upload, i have to upload .sql and .json file |
i have written code like this
$config['allowed_types'] = 'csv|x-sql'; and i have included below code in mimes.php 'sql' => 'text/x-sql' But it is not working , can anyone assist on it?
use application/x-sql
or use application/octet-stream What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |