Flash PHP upload Sorunu

0 Cevap php

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)

Boyutlandırma komut basit. Bu sadece görüntü çözünürlüğü büyük olup olmadığını kontrol edin ve gerekirse görüntüyü yeniden boyutlandırmak için () imagecopyresampled kullanın.

I tried to unset image resource in upload.php to free up memory but it doesn't help. What else could be the problem?

0 Cevap