Welcome Guest, Not a member yet? Register   Sign In
Upload error with p7m files
#1

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?
Reply
#2

Just add this one to the Mimes.php file.
"pplication/pkcs7"
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#3

(01-12-2021, 12:33 PM)InsiteFX Wrote: Just add this one to the Mimes.php file.
"pplication/pkcs7"

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.".
Reply
#4

I do not think that this is going to work at all because it is an encrypted s-mime type
for emails etc;.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB