security - Is it possible to block php scripts in upload folder? -


I am experiencing my first form in php where the images can be uploaded.

I have seen some articles on the web that say that it can be dangerous, so there is no way to block the script on a specified folder? Is there anything with .htaccess or php .ini instructions?

The best way to ensure that your upload directory is outside of your webtrot until the webserver You have been able to read / write, you will be fine - no worries about executable uploads. This was discussed.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -