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.
Hi, Just to let the users know about a bug. On my server FInfo was not enabled and the Class was not throwing any error and was showing a blank page after file upload. You please mention it in your faq because i didn't get any help in your forum or faq.
The FInfo module is NOT enabled by default in PHP version 5.2.17.
The FInfo module is NOT enabled by default in PHP version 5.2.17.
It comes as by default in PHP 5.3 and higher.
Regards
Tabish
The class should handle missing fileinfo. There must be something set up differently on your system.
upload class version is: 0.31
Sorry.. log is deleted somehow..
The class was breaking just after this:
$handle = new upload($_FILES['image_field']);
and throwing blank page without any error.
When i commented from line number:
2804 (/*elseif (@class_exists('finfo')) {)
Till
2818 (}*/)
it started working..
And when FInfo was enabled in my PHP, everything worked perfect.
Regards
Tabish