Why do some of my posts go randomly missing? Using some of
PHP's image functions, you can check to make sure the file being uploaded is indeed an image. That'd probably be the best way. I don't know if you can hide a virus inside an image, but I would think not as it would need some type of application to start doing bad things.