News for hackers. Stuff that matters.
Re:Zero Day Vulnerability in many Wordpress Themes by Udo on Tuesday August 02, 2011 @04:43AM (#2836390)
For most purposes, this would work. If you want to be extra safe, you can call getimagesize() on the file - this returns among other things the actual mime type of the file, allowing you to exclude anything but real image files.

There are no comments on this comment yet.