Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Senior Coder
    Join Date
    Jun 2008
    New Jersey
    Thanked 259 Times in 256 Posts

    "Securely" allow image uploads

    I quoted securely, as security is relative, but...

    Is there a technique to make sure a file someone uploads is an image? Obviously just extension isn't sufficient, and I know checking mime types is a method of confirming file type, but I don't know how effective that is. I also considered using the various techniques to convert the file into a raw then into a jpg to make sure.

    I'm assuming the techniques to check file type would be assessed server side, as I'm not aware of any client side techniques to check file types?

  • #2
    Senior Coder
    Join Date
    Nov 2010
    Thanked 32 Times in 31 Posts
    check this link out there is a final version at the end, i learned a whole new way to check the types in this. With much help from the great people here.



    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts