I'm writing a program that will allow users contributing information to a database to upload a scanned image. I need to make sure that the user is uploading a .jpg or .gif file. How do I do this?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.