Welcome Guest, Not a member yet? Register   Sign In
Hello all iam working on upload, i have to upload .sql and .json file
#1

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?
Reply
#2

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 )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB