Reply to Option to configure dangerous extensions

Option to configure dangerous extensions new!
by philipp, 11 years, 9 months ago
thank you for your great upload-class. i would like to propose two new features:

1. a methode to configure which extensions are dangerous to upload. i.e. adding .inc to the default set of dangerous extensions.

2. a methode, which checks, if an uploaded file could be dangerous BEFORE processing it. so i could check the uploaded file and decide, if i want to save the name in a database. if i could do this before processing the file, i save some performance and i do not need to unlink the file, which has after processing an other extension (.txt) as the original uploaded file.

what do you mean about these features?Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important