...

View Full Version : Need a secure image upload



myfayt
09-12-2011, 11:12 PM
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! :thumbsup:

BluePanther
09-12-2011, 11:50 PM
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.

Mark91
09-13-2011, 03:18 AM
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-multi-uploader-and-thumbnail-creator-gif-jpeg-png-php



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum