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.
more info about the class
See all posts See thread Reply
echo $foo->log;
Array ( [image_field] => Array ( [name] => 1.jpg [type] => image/pjpeg [tmp_name] => /tmp/phpmHXz0q [error] => 0 [size] => 11221 ) [image_field_2] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [image_field_3] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [image_field_8] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) )
error : No source file. Can't carry on a process/tmp/phpmHXz0q - new file name body : 1159530817_thumb - file name safe format - destination variables file_dst_path : /usr/virtual/webs/pastirik/galerie/image/ file_dst_name_body : 1159530817_thumb file_dst_name_ext : jpg - image operation, change extension for conversion type - checking for auto_rename file_dst_name : 1159530817_thumb.jpg file_dst_pathname : /usr/virtual/webs/pastirik/galerie/image/1159530817_thumb.jpg - 1159530817_thumb.jpg doesn't exist already
In any case, I can't say much without the log file, or your code.
What does the log print?
error : No source file. Can't carry on a process/tmp/phpmHXz0q - new file name body : 1159530817_thumb - file name safe format - destination variables file_dst_path : /usr/virtual/webs/pastirik/galerie/image/ file_dst_name_body : 1159530817_thumb file_dst_name_ext : jpg - image operation, change extension for conversion type - checking for auto_rename file_dst_name : 1159530817_thumb.jpg file_dst_pathname : /usr/virtual/webs/pastirik/galerie/image/1159530817_thumb.jpg - 1159530817_thumb.jpg doesn't exist alreadyi upload new version 0.20 but same ...
Apart from that, does it work for other files? Or when you are not doing multiple uploads?
Are you in a chroot environment? What server are you running the class on? Which version of PHP?