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.
I got a big problem on my debian server. class.upload doesn't work.
I got same code on my local windows and no problem, my code isnt wrong but when i push my sources on the server (on linux), i can't upload anything.
I've check : - php.ini (gd2 ok, memory_limit 128M,upload_max_filesize = 202M,post_max_size = 202M,max_execution_time = 60) - permissions on folders - tmp is writable - i got gd 2 activate,
I try to get some infomation with $foo->log and i have :
system information - class version : 0.31 - operating system : Linux - PHP version : 5.3.10-1ubuntu3.2 - GD version : 2.0 - supported image types : png jpg gif bmp - open_basedir : no restriction - upload_max_filesize : 202M (211812352 bytes) - language : en_GB source is an uploaded file
I got a big problem on my debian server. class.upload doesn't work.
I got same code on my local windows and no problem, my code isnt wrong but when i push my sources on the server (on linux), i can't upload anything.
I've check :
- php.ini (gd2 ok, memory_limit 128M,upload_max_filesize = 202M,post_max_size = 202M,max_execution_time = 60)
- permissions on folders
- tmp is writable
- i got gd 2 activate,
I try to get some infomation with $foo->log and i have :
system information
- class version : 0.31
- operating system : Linux
- PHP version : 5.3.10-1ubuntu3.2
- GD version : 2.0
- supported image types : png jpg gif bmp
- open_basedir : no restriction
- upload_max_filesize : 202M (211812352 bytes)
- language : en_GB
source is an uploaded file
source is an uploaded file is empty.
I dont know how to solve this problem...