Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Senior Coder
    Join Date
    Apr 2010
    Posts
    1,237
    Thanks
    51
    Thanked 100 Times in 99 Posts

    Need a secure image upload

    Looking to build an upload file script where people can upload images from their computer. I know a little bit about it, but never done one before.

    Basically it needs to have the following.

    Formats: jpg, jpeg, gif, bmp, png
    Max Filesize: 500kb
    Max Height & Width: 500px X 500px

    Is there any premade scripts like this I can use? I want to make sure it's restricted to those formats, I don't want viruses or scripts uploaded.

    Thanks!

  • #2
    Senior Coder
    Join Date
    Jul 2011
    Posts
    1,226
    Thanks
    3
    Thanked 171 Times in 171 Posts
    http://www.scanit.be/uploads/php-file-upload.pdf
    seems like quite a good, in depth pdf on the subject Just found it right this second, was an interesting read. Would maybe like someone to confirm it's accuracy though? Makes sense to me.

  • #3
    New Coder
    Join Date
    Sep 2010
    Posts
    35
    Thanks
    3
    Thanked 1 Time in 1 Post
    There are many pre-made image upload scripts out there. Choosing the right one depends on your needs and complexity requirements (whether it uses ajax or not).

    Here is one I found: http://www.cafewebmaster.com/smart-m...f-jpeg-png-php


  •  

    Posting Permissions

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