I have a folder that users uploadings are gone into. A person can upload a php file and not get caught if he changes the extension so How can I prevent php to execute anything in the directory (recursively).
Allowing PHP only execute files whose extension is .php will also solve my problem
I would be grateful if you can help.
I have read a thread about that but the solution is not valid for my case.