Reply to Re: Upload xlsx files

Re: Upload xlsx files new!
by Ray, 1 year, 5 months ago
I set mime_fileinfo to false, upload failed

system information
- class version : 30/08/2022
- operating system : Linux
- PHP version : 8.1.2
- GD version : 2.2.4
- supported image types : png webp jpg gif bmp
- open_basedir : /var/customers/webs/test3:/var/customers/tmp/test3:/usr/share/php:/usr/share/php5:/tmp
- upload_max_filesize : 64M (67108864 bytes)
- language : de_DE
source is an uploaded file
- upload OK
- file name OK
determining MIME type
- Fileinfo PECL extension deactivated
- checking MIME type with UNIX file() command
PHP exec() function is disabled
- checking MIME type with mime.magic file (mime_content_type())
MIME type detected as application/encrypted by mime_content_type()
- MIME validated as application/encrypted
source variables
- you can use all these before calling process()
file_src_name : GAR_Datenbank_aktuell_2022_10_10_NEW.xlsx
file_src_name_body : GAR_Datenbank_aktuell_2022_10_10_NEW
file_src_name_ext : xlsx
file_src_pathname : /var/customers/tmp/test3/phppuQ5QX
file_src_mime : application/encrypted
file_src_size : 415232 (max= 67108864)
file_src_error : 0
process file to /var/customers/webs/test3/dskom/media/uploaders_649615/71/in/
- file size OK
- MIME type and/or extension is not allowed !
- error: Falscher Dateityp.
Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important