Home
Forums
Members
Search
Help
New topics
Todays topics
Website
Welcome Guest, Not a member yet?
Register
Sign In
Login
Username:
Password:
Remember me
Lost Password?
CodeIgniter Forums
Archived Discussions
Archived Development & Programming
Allowing all extensions in uploading file
Share on Google
Share on Facebook
Share on Twitter
View a Printable Version
Subscribe to this thread
Add Poll to this thread
Send thread to a friend
Linear Mode
Threaded Mode
Allowing all extensions in uploading file
El Forum
Unregistered
#1
01-24-2009, 04:06 AM
[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.
El Forum
Unregistered
#2
01-30-2009, 01:13 AM
[eluser]cpp643[/eluser]
go into config/mimes.php file and put ur own extention and assign array which contains all mime types...[
]
El Forum
Unregistered
#3
01-30-2009, 01:18 AM
[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?
El Forum
Unregistered
#4
01-30-2009, 01:21 AM
[eluser]cpp643[/eluser]
in config/mime.php
in that array put one key values like
'myext' => array( which contains all mime typs..)
El Forum
Unregistered
#5
01-30-2009, 01:29 AM
[eluser]Computerzworld[/eluser]
ok.. thanks for reply.. i will try it out....
El Forum
Unregistered
#6
01-30-2009, 01:30 AM
[eluser]cpp643[/eluser]
--------------------
Private Messages
User Control Panel
Who's Online
Search
Forum Home
General
-- News & Discussion
-- Events
-- Lounge
-- Regional User Groups
Using CodeIgniter
-- Installation & Setup
-- Model-View-Controller
-- Libraries & Helpers
-- Best Practices
-- Choosing CodeIgniter
-- General Help
CodeIgniter 4
-- CodeIgniter 4 Roadmap
-- CodeIgniter 4 Development
-- CodeIgniter 4 Feature Requests
-- CodeIgniter 4 Support
-- CodeIgniter 4 Discussion
-- CodeIgniter 4 Addins
Development
-- CodeIgniter 3.x
-- CodeIgniter 2.x
-- Issues
-- NetBeans Plugin
External Resources
-- Spotlight
-- Learn More
-- Jobs
-- Addins
Archived Discussions
-- Archived Libraries & Helpers
-- Archived Development & Programming
Theme © iAndrew 2016 -
Forum software by © MyBB