utilizzando la funzionalità progetti non si caricano i file con estensione .doc, .xls, .ppt mentre si caricano senza problemi i file con estensioni .docx, xlsx, pptx
Premetto che le estensioni sono presenti nella whitelist, come posso risolvere ho una marea di utenti inca##ti
P.S.
I suddetti file non vengono allegati nemmeno utilizzando i messaggi
Last edited by RinaldoT on Thu Jul 11, 2013 10:12 am, edited 2 times in total.
case "doc" : case "dot" :
return 'application/msword';
case "docx" :
return 'application/vnd.openxmlformats-officedocument.wordprocessingml.document';
case "xls";
return 'application/vnd.ms-excel';
case "xls";
return 'application/msexcel';
case "xlsx";
return 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet';
case "ppt";
return 'application/vnd.ms-powerpoint';
case "ppt";
return 'application/mspowerpoint';
case "pptx";
return 'application/vnd.openxmlformats-officedocument.presentationml.presentation';
case "doc":
return 'application/msword';
case "dot":
return 'application/msword';
case "docx":
return 'application/vnd.openxmlformats-officedocument.wordprocessingml.document';
case "xls":
return 'application/vnd.ms-excel';
case "xlsx":
return 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet';
case "ppt":
return 'application/vnd.ms-powerpoint';
case "pptx":
return 'application/vnd.openxmlformats-officedocument.presentationml.presentation';
case "doc":
return 'application/msword';
break;
case "dot":
return 'application/msword';
break;
case "docx":
return 'application/vnd.openxmlformats-officedocument.wordprocessingml.document';
break;
case "xls":
return 'application/vnd.ms-excel';
break;
case "xlsx":
return 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet';
break;
case "ppt":
return 'application/vnd.ms-powerpoint';
break;
case "pptx":
return 'application/vnd.openxmlformats-officedocument.presentationml.presentation';
break;
La tabella dei mime type di Office 2007 è la seguente:
forma.association Via Molineria San Giovanni 10/A 29100 Piacenza (PC) - ITALY C.F. 91116870337
forma.lms is a registered trademark of the forma.association Text contents of this website are available under the Creative Commons Attribution-ShareAlike License
Some of the cookies we use are essential for parts of the site to operate and have already been set. We also use Google Analytics scripts, which all use cookies. You may delete or block all cookies from this site in your browser options.