0

I have a request for customers to be able to submit drawing and image files via a custom option in Magento 1.7.0.2. I have the upload working I am just not sure if it is the most secure. It seemed to easy so naturally I'm a little paranoid. Any help with this is much appreciated.

1 Answer 1

1

Try to use getimagesize(). It will return zeros for size on non-images. Details you can find here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.