Questions tagged as 'mime-type'

1
answer

Incorrect mime for XLS files

I'm doing a migration of a certain system written in ASP.NET (site) and in a certain part of that system there is a place where a XLS file is uploaded. There is a check against the mime type of the file to see if it is actually an XLS...
asked by 14.07.2017 / 13:43
1
answer

Catch hidden extension of Uri

I have an application to watch and download videos online, my code detects the mimetype by url to use as an extension of the downloaded video. However, some websites have the hidden extension, such as this url: http://www.animeplus.org/inc...
asked by 16.01.2018 / 14:15
0
answers

Application does not install in release mode when sent to server

I have an instance in Amazon EC2 where using PHP I am uploading an APK. I created a MIME-TYPE mapping .apk with application/vnd.android.package-archive , and also editing .htaccess by entering a type like this below: AddT...
asked by 03.10.2017 / 01:51
2
answers

Codeigniter 3 send file with PFX extension

I need to upload a file with the extension .pfx (digital certificate). I'm using library Upload of CodeIgniter as follows: I'm putting the allowed_types extension, but it does not send. Return: The type of file...
asked by 05.01.2017 / 18:11
0
answers

What is the correct content-type to download automatically?

I have a download functionality on a button, clicking does not download the file, the contents of the worksheet are displayed inside the page. This only occurs on IOS devices. I've tried using other content-type for .xls or the force-download bu...
asked by 10.07.2018 / 23:50
1
answer

How does the integration of Google Maps in the web version work?

Hello! My question may seem a bit vague, but I did not know how to briefly synthesize my doubt. What I want to know is: how does Google Maps validate API_KEY and return map in web integration? Basically, the backend and frontend part I can turn...
asked by 10.05.2017 / 01:04
2
answers

Force text download in MSWord-supported format with PHP?

I would like to know how to force the download of a file, with some extension supported by Microsoft Word p> I've searched a few times, tested the MIME types I found, like the ones in this Microsoft's list , but I did not succeed. This...
asked by 11.09.2015 / 07:13