Hi there,
I am using a script to upload photo (written by my own) which allow user to select more than 1 files, using Flash. When user click upload, as3 will post the upload file to upload.php, resize it, and save it one by one.
The problem: In production server, if I am uploading many photos and the photos size are very large, >2MB, the uploading progress just stuck in halfway, only the first few photos successfully uploaded.
What I have found out: If I tried with smaller size photos, or if I disabled the resizing script in upload.php, there are no problem at all.Furthermore, the script work fine in my localhost with newer processor compared to the problematic server with older model)
The resize script is simple. It just check whether the image resolution is large, and use imagecopyresampled() to resize the image if needed.
I tried to unset image resource in upload.php to free up memory but it doesn't help. What else could be the problem?