Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter upload class question.
#3

[eluser]Dentafrice[/eluser]
Yes.. I have done that.

The problem is, that the entire Upload Class, from my understanding, ONLY checks the information provided by the browser/file.

Meaning if the header: content-type is image/png, that's all that matters.. you can easily have an image/png "headered" file, and have an extension ".php", and it uploads.

I know that if it's stored out of sight, then it's not as big of a problem, but when you want to limit allowed_types to gif, jpg, png.. then that's what you want..

You don't want .php, .anything files stored..

Hopefully I'm getting the point across Tongue


Messages In This Thread
CodeIgniter upload class question. - by El Forum - 12-22-2008, 09:44 AM
CodeIgniter upload class question. - by El Forum - 12-22-2008, 12:07 PM
CodeIgniter upload class question. - by El Forum - 12-22-2008, 12:33 PM
CodeIgniter upload class question. - by El Forum - 12-22-2008, 12:43 PM
CodeIgniter upload class question. - by El Forum - 12-22-2008, 12:47 PM
CodeIgniter upload class question. - by El Forum - 12-22-2008, 12:49 PM
CodeIgniter upload class question. - by El Forum - 12-22-2008, 12:53 PM
CodeIgniter upload class question. - by El Forum - 12-23-2008, 06:47 PM
CodeIgniter upload class question. - by El Forum - 12-23-2008, 08:08 PM



Theme © iAndrew 2016 - Forum software by © MyBB