
Loki_ - 2007-06-20 05:50:29
One of the easiest ways to prevent this is to add an .htaccess file to all upload directories. In the htaccess file paste this code.
Order allow,deny
allow from all
<FilesMatch "\.php$">
deny from all
</FilesMatch>
This will prevent any php extentions from being uploaded and allow the standard image files.