![]() |
Allowing all extensions in uploading file - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Allowing all extensions in uploading file (/showthread.php?tid=15027) |
Allowing all extensions in uploading file - El Forum - 01-24-2009 [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. Allowing all extensions in uploading file - El Forum - 01-30-2009 [eluser]cpp643[/eluser] go into config/mimes.php file and put ur own extention and assign array which contains all mime types...[ ![]() Allowing all extensions in uploading file - El Forum - 01-30-2009 [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? Allowing all extensions in uploading file - El Forum - 01-30-2009 [eluser]cpp643[/eluser] in config/mime.php in that array put one key values like 'myext' => array( which contains all mime typs..) Allowing all extensions in uploading file - El Forum - 01-30-2009 [eluser]Computerzworld[/eluser] ok.. thanks for reply.. i will try it out.... Allowing all extensions in uploading file - El Forum - 01-30-2009 [eluser]cpp643[/eluser] ![]() |