3 ms·
Hopefully it will convince developers to not trust the client and actually confirm the user uploaded a .jpg, .png or .gif. But I guess that isn’t nearly as usef
by wbond 10y ago
Hopefully it will convince developers to not trust the client and actually confirm the user uploaded a .jpg, .png or .gif. But I guess that isn’t nearly as useful for us when we want a reason why we need to rewrite everything. :)
- jrochkind1 10y agoYou know what a lot of people do to confirm the user actually uploaded a jpg, png, or gif? Use ImageMagick. http://www.imagemagick.org/script/identify.php http://www.imagemagick.org/script/identify.php