K
K
Koreetz Koreetz2015-06-24 11:27:02
CMS
Koreetz Koreetz, 2015-06-24 11:27:02

What's going on with file uploads?

Good afternoon!
The question is: there is a site and catalogs are not downloaded from it (when downloading, "crakazyabrs" appear)
lh-a.ru/katalogi
tell me what could be the reason!
Thanks in advance)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rikcon, 2015-06-24
@Rikcon

You give the file not as a file, but force the browser to read it, respectively, you see the insides of pdf.
The response header from the server has
Content-Type: text/html
Here it is necessary that it be not text/html but as a file, I don’t remember exactly which one.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question