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.
Thank you , colin. I hope my poor English hasn't bother you. But I think that may not be the memory problem . Because it happens everytime when the client use large-scale printer .But never happen if the client use the usual scanner. You can try to download the image and upload it. If it fails to upload . Please open the image and re-save it(you will find out that this time the size of the image become bigger) then retry to upload again and uploading should be succeed. Since more and more clients use this kind's printer instead of the usual scanner It really bother me .And I don't know how to solve the problem ,In fact I don't know what's wrong at all. I guess the image is created by a special protocol ,It's not usual JPG file.Reply
I hope my poor English hasn't bother you.
But I think that may not be the memory problem .
Because it happens everytime when the client use large-scale printer .But never happen if the client use the usual scanner.
You can try to download the image and upload it. If it fails to upload . Please open the image and re-save it(you will find out that this time the size of the image become bigger) then retry to upload again and uploading should be succeed.
Since more and more clients use this kind's printer instead of the usual scanner It really bother me .And I don't know how to solve the problem ,In fact I don't know what's wrong at all.
I guess the image is created by a special protocol ,It's not usual JPG file.