3 ms·
Handling image uploads securely in PHP
- NewsReader42 12y agoYou should also check the size of the image to make sure it's actually an image. I can quite easily get a php file into your system using your current way as you ONLY check for extension.
- NewsReader42 12y agoBy size I mean dimensions.