Answer the question
In order to leave comments, you need to log in
Problems downloading files in the Safari browser?
A known bug in Safari adds a .html extension when downloading a file. For example, if a .rar archive is downloaded, then .rar.html will be downloaded in Safari. PHP
site templates are not supported. So header("Content-Type: application/$file_type"); can't write.
It didn't help in .htaccess AddType application/x-httpd-php .html .htm
Setting the download attribute in links didn't help either.
Maybe someone had a similar problem, how did you solve it? Or what else is the solution without php?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question