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.
Having used this class for what must be years - I have this week come across a very strange issue which has stumped me.
My image processing path is as follows:
Modal window - Uploadify - Pre Process names etc - Process with Upload Class.
I have set my max file sizes in the php.ini to 256M (just in case) and changed the class max file size manually to 128108864 just in case.
However weirdly - any image on or near 2 mb is fine but anything bigger than 4mb simply fails to process - I have checked the paths and they are correct as my code is moving the image to the correct directory ready for processing by this class.
I have checked that the class is receiving the correct file name and path - what is very strange is that the class simply fails with no discernible error message - I have a trap set for if it cant process and have installed several test cases to prove that that works.
The class simply gets to the $handle->process(dir) point and falls over.
Any ideas?
One footnote: given that I have been using this class for so long and never seen this issue makes me wonder if its a server issue.Reply
Having used this class for what must be years - I have this week come across a very strange issue which has stumped me.
My image processing path is as follows:
Modal window - Uploadify - Pre Process names etc - Process with Upload Class.
I have set my max file sizes in the php.ini to 256M (just in case) and changed the class max file size manually to 128108864 just in case.
However weirdly - any image on or near 2 mb is fine but anything bigger than 4mb simply fails to process - I have checked the paths and they are correct as my code is moving the image to the correct directory ready for processing by this class.
I have checked that the class is receiving the correct file name and path - what is very strange is that the class simply fails with no discernible error message - I have a trap set for if it cant process and have installed several test cases to prove that that works.
The class simply gets to the $handle->process(dir) point and falls over.
Any ideas?
One footnote: given that I have been using this class for so long and never seen this issue makes me wonder if its a server issue.