Welcome Guest, Not a member yet? Register   Sign In
Allowing all extensions in uploading file
#1

[eluser]Computerzworld[/eluser]
Hello,
I want to allow all the file types in file uploading. Is it possible to do so? I tried using,

Code:
$config['allowed_types'] = '';

But it gives error. Please help me. Thanks in advance.
#2

[eluser]cpp643[/eluser]
go into config/mimes.php file and put ur own extention and assign array which contains all mime types...[Smile]
#3

[eluser]Computerzworld[/eluser]
but I want to allow all the extensions to be allowed. So, what exactly the modification that I have to do in mimes.php?
#4

[eluser]cpp643[/eluser]
in config/mime.php

in that array put one key values like

'myext' => array( which contains all mime typs..)
#5

[eluser]Computerzworld[/eluser]
ok.. thanks for reply.. i will try it out....
#6

[eluser]cpp643[/eluser]
Smile




Theme © iAndrew 2016 - Forum software by © MyBB