class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
It can be the 1MB limit your you tmp directory. Also, if the image you upload is big, and if you do some image manipulation on it (resize, etc...), you will need more memory. For instance, a 1MB image will require 8 MB approx of memory to be processed. You might have to ask your host to increase the PHP memory limit.
Having a blank page, or no error message at all usually indicates a lack of memory available. A good test is to try your code with smaller images.Reply
Having a blank page, or no error message at all usually indicates a lack of memory available. A good test is to try your code with smaller images.