93
Hi everyone,
I'm running News 1.31 and I replaced the code tzvook suggested in line 442 of the submit.php file, but I was getting an error when attempting to upload Excel files: Mimetype not allowed - applications vnd.ms-excel. After taking a closer look at the code, I realized it was missing a hyphen.
Here's the code I now have in my submit.php file on line 442 which allows me to upload Excel files:
$permittedtypes=array('image/gif', 'image/jpeg', 'image/pjpeg', 'image/x-png', 'image/png' ,'application/x-zip-compressed', 'application/pdf', 'application/x-gtar', 'application/msexcel', 'application/vnd.ms-excel','application/msword', 'application/x-tar');
Thanks tzvook -- I wouldn't have known where to even look to make the change.
Kristine