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
Below is my log file.
system information
- GD version : 2.0
- supported image types : png jpg gif bmp
- open_basedir : /www/htdocs/keesinternetnl/:/tmp:/usr/share/php
- language : en_GB
source is an uploaded file
- upload OK
- file name OK
- source variables
file_src_name : Forest Flowers.jpg
file_src_name_body : Forest Flowers
file_src_name_ext : jpg
file_src_pathname : /tmp/phpnktTHE
file_src_mime : application/octet-stream
file_src_size : 128755 (max= 20971520)
file_src_error : 0
process file to /www/htdocs/keesinternetnl/http/fotoalbum/uploads/thumbs/
- file size OK
- file mime OK : application/octet-stream
- file name safe format
- destination variables
file_dst_path : /www/htdocs/keesinternetnl/http/fotoalbum/uploads/thumbs/
file_dst_name_body : Forest_Flowers
file_dst_name_ext : jpg
- no image operation, keep extension
- checking for auto_rename
- destination file details
file_dst_name : Forest_Flowers.jpg
file_dst_pathname : /www/htdocs/keesinternetnl/http/fotoalbum/uploads/thumbs/Forest_Flowers.jpg
- Forest_Flowers.jpg doesn't exist already
- attempting creating a temp file:/www/htdocs/keesinternetnl/http/fotoalbum/uploads/thumbs/ failed