Form Upload

Permalink
Hi!

I have build a Form Upload. My problem is that if the customer fills out the form and includes a file (a picture) of about 2-5 Mb, the upload results in a blank page. But the file is inside my dashboards file folder. There are no form entries and therefore no customer data (name etc).

Any suggestions?

You can find my page here:

http://www.joepchen.de/index.php/examples/upload/...

 
andrew replied on at Permalink Reply
andrew
Increasing available memory in PHP settings?

I imagine what's happening is our upload script sees that the file you're uploading is an image, so it tries to make thumbnails using the PHP GD library. However, that's pretty memory intensive, and those are large images. If there isn't enough RAM the process will fail (and unfortunately I don't think there's a way to make it fail without completely bringing everything else to a momentary halt.)