Upload error with p7m files - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Upload error with p7m files (/showthread.php?tid=78381) |
Upload error with p7m files - A35G - 01-11-2021 Hello everyone, I am experiencing errors when uploading files with p7m extension. The Browser sees the files as "application/pkcs7" (tried both with Google Chrome and Mozilla Firefox), inside the file mimes.php instead are identified as "application/pkcs7-mime", "application/x-pkcs7-mime". I tried to add the extension in the array but I always get the error: "The filetype you are attempting to upload is not allowed.". I've done numerous tests, modifications, etc... but I still haven't found a solution. Any advice/suggestion? RE: Upload error with p7m files - InsiteFX - 01-12-2021 Just add this one to the Mimes.php file. "pplication/pkcs7" RE: Upload error with p7m files - A35G - 01-13-2021 (01-12-2021, 12:33 PM)InsiteFX Wrote: Just add this one to the Mimes.php file. As I indicated in my previous post: Quote:I tried to add the extension in the array but I always get the error: "The filetype you are attempting to upload is not allowed.". RE: Upload error with p7m files - InsiteFX - 01-13-2021 I do not think that this is going to work at all because it is an encrypted s-mime type for emails etc;. |