¬_¬ are you sure you want to do that? that makes it easy for hackers to upload scripts to your site and have your server run them to give them any information they want
I agree... be careful with security... anyway, if you want to allow all file types i guess that removing the following part of the script:
else if (!in_array($file_type, $FILE_MIMES) && !in_array($file_ext, $FILE_EXTS) ) $message = "Sorry, $file_name($file_type) is not allowed to be uploaded.";
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.