How can I protect users not to upload php scripts ?
I put the below codes into .htaccess of ( /uploads/ ) folder.
<Files ^(*.php|*.phps)> order deny,allow deny from all </Files> <FilesMatch "\.(php|pl|py|jsp|asp|htm|shtml|sh|cgi.+)$"> ForceType text/plain </FilesMatch> but i can still upload php files & php files are still executable. what's wrong with me or the codes ?
.htaccess