Supported file types
-
How can i delete some supported file types?
I try delete/edit
l $path_of_uploaded_file, $mime_type; $mime_type= array( 'html'=>'text/html', 'htm'=>'text/html', 'txt'=>'text/plain', 'css'=>'text/css', 'gif'=>'image/gif', 'png'=>'image/x-png', 'jpeg'=>'image/jpeg', 'jpg'=>'image/jpeg', 'JPG'=>'image/jpeg', 'jpe'=>'image/jpeg', 'TIFF'=>'image/tiff', 'tiff'=>'image/tiff', 'tif'=>'image/tiff', 'TIF'=>'image/tiff', 'bmp'=>'image/x-ms-bmp', 'BMP'=>'image/x-ms-bmp', 'ai'=>'application/postscript', 'eps'=>'application/postscript', 'ps'=>'application/postscript', 'rtf'=>'application/rtf', 'pdf'=>'application/pdf', 'doc'=>'application/msword', 'docx'=>'application/msword', 'xls'=>'application/vnd.ms-excel', 'xlsx'=>'application/vnd.ms-excel', 'zip'=>'application/zip', 'rar'=>'application/rar', 'wav'=>'audio/wav', 'mp3'=>'audio/mp3', 'ppt'=>'application/vnd.ms-powerpoint', 'aar'=>'application/sb-replay', 'sce'=>'application/sb-scenario' ); $error_message['error_attachment'] = $cntctfrm_options['cntctfrm_attachment_error'][ $language ];this lines but an error has occurred.
-
Hi,
We have received your query and it is now being processed. We will get back to you on this forum as soon as we can.
Regards,
BestWebSoft Support TeamHi Shateiel,
In case you want to delete, for instance, the support of uploading*.html files, then in the following array:
$mime_type= array(
‘html’=>’text/html’,
‘htm’=>’text/html’,
‘txt’=>’text/plain’,
‘css’=>’text/css’,
‘gif’=>’image/gif’,
‘png’=>’image/x-png’,
‘jpeg’=>’image/jpeg’,
‘jpg’=>’image/jpeg’,
‘JPG’=>’image/jpeg’,
‘jpe’=>’image/jpeg’,
‘TIFF’=>’image/tiff’,
‘tiff’=>’image/tiff’,
‘tif’=>’image/tiff’,
‘TIF’=>’image/tiff’,
‘bmp’=>’image/x-ms-bmp’,
‘BMP’=>’image/x-ms-bmp’,
‘ai’=>’application/postscript’,
‘eps’=>’application/postscript’,
‘ps’=>’application/postscript’,
‘rtf’=>’application/rtf’,
‘pdf’=>’application/pdf’,
‘doc’=>’application/msword’,
‘docx’=>’application/msword’,
‘xls’=>’application/vnd.ms-excel’,
‘xlsx’=>’application/vnd.ms-excel’,
‘zip’=>’application/zip’,
‘rar’=>’application/rar’,
‘wav’=>’audio/wav’,
‘mp3’=>’audio/mp3’,
‘ppt’=>’application/vnd.ms-powerpoint’,
‘aar’=>’application/sb-replay’,
‘sce’=>’application/sb-scenario’ );Please delete a single line:
‘html’=>’text/html’,
where the first value in quotation marks is the file extension.
This way, you can delete the lines, the files of which you no longer want to be supported.
However, please note that next time the plugin is updated, the changes will be removed.
Regards,
BestWebSoft Support Team
The topic ‘Supported file types’ is closed to new replies.