getting different mime type for exe file in phpGet the solution ↓↓↓
application/x-dosexec is actually a subtype of
application/x-msdownload, specifically having the
You don't need to check for all possible mime types, just check if it belongs to the parent executable mime type. See how it's done with mediatype here.
Share solution ↓
Link To Answer People are also looking for solutions of the problem: using $this when not in object context
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.