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.
source is an uploaded file
- upload OK
- file name OK
- source variables
file_src_name : class.zip
file_src_name_body : class
file_src_name_ext : zip
file_src_pathname : /tmp/phpYa84RV
file_src_mime : application/x-zip
file_src_size : 24549 (max= 105906176)
file_src_error : 0
process file to ./files/
- file size OK
application/x-zip, Added that to the array and works fine. Thanks mate!Reply