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 have an strange problem. I just change mi site hosting and now when I use the class.upload.php I don't have any missage of error but the file isn't in destination folder. Of course the folder exist and permisions are correct.
I have these log:
The file was saved to: ok system information -class version : 0.26 -GD version : 2.0.34 -supported image types : png jpg gif bmp -open_basedir : /var/www/vhosts/xxxxx/httpdocs:/tmp -language : en_GB source is an uploaded file - upload OK - file name OK - MIME type detected as image/png; charset=binary by Fileinfo PECL extension - source variables file_src_name : image.png file_src_name_body : image file_src_name_ext : png file_src_pathname : /tmp/phpj5aMI5 file_src_mime : image/png; charset=binary file_src_size : 3668 (max= 15728640) file_src_error : 0 process file to /var/www/vhosts/xxxxx/httpdocs/files/news/ - file size OK - file mime OK : image/png; charset=binary - file name safe format - destination variables file_dst_path : /var/www/vhosts/xxxxx/httpdocs/files/news/ file_dst_name_body : image file_dst_name_ext : png - no image operation, keep extension- checking for auto_rename - destination file details file_dst_name : image.png file_dst_pathname : /var/www/vhosts/xxxxx/httpdocs/files/news/image.png - image.png doesn't exist already - no image processing wanted - process OKReply
I have an strange problem. I just change mi site hosting and now when I use the class.upload.php I don't have any missage of error but the file isn't in destination folder. Of course the folder exist and permisions are correct.
I have these log:
The file was saved to: ok
system information
-class version : 0.26
-GD version : 2.0.34
-supported image types : png jpg gif bmp
-open_basedir : /var/www/vhosts/xxxxx/httpdocs:/tmp
-language : en_GB
source is an uploaded file
- upload OK
- file name OK
- MIME type detected as image/png; charset=binary by Fileinfo PECL extension
- source variables
file_src_name : image.png
file_src_name_body : image
file_src_name_ext : png
file_src_pathname : /tmp/phpj5aMI5
file_src_mime : image/png; charset=binary
file_src_size : 3668 (max= 15728640)
file_src_error : 0
process file to /var/www/vhosts/xxxxx/httpdocs/files/news/
- file size OK
- file mime OK : image/png; charset=binary
- file name safe format
- destination variables
file_dst_path : /var/www/vhosts/xxxxx/httpdocs/files/news/
file_dst_name_body : image
file_dst_name_ext : png
- no image operation, keep extension- checking for auto_rename
- destination file details
file_dst_name : image.png
file_dst_pathname : /var/www/vhosts/xxxxx/httpdocs/files/news/image.png
- image.png doesn't exist already
- no image processing wanted
- process OK