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.
Thats the log process file to /home/mysite/public_html/test2/media/attributemanager/src/ - file size OK - script blue.png renamed as blue.png.txt! - error: Incorrect type of file.
I am using the image_convert function. I have set an if check to check the fie extension but the error still produced
I am getting the same error with png files
Thats the log
process file to /home/mysite/public_html/test2/media/attributemanager/src/
- file size OK
- script blue.png renamed as blue.png.txt!
- error: Incorrect type of file.
I am using the image_convert function. I have set an if check to check the fie extension but the error still produced
code:
if($handle->file_src_name_ext!='png' || $handle->file_src_name_ext!='PNG') {$handle->image_convert = 'png';}