K
K
Kirill Zhilyaev2017-07-15 13:24:13
PHP
Kirill Zhilyaev, 2017-07-15 13:24:13

How to pass Content-Length in php?

While creating the site, I ran into a problem: Nginx ignores header("Content-Length: ". ob_get_length());. How to actually pass this header?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Kirill Zhilyaev, 2017-07-15
@kirill_782

It was necessary to disable chunked transmission.

S
sim3x, 2017-07-15
@sim3x

https://stackoverflow.com/questions/21743721/make-...
https://www.google.com.ua/search?q=nginx+php+conte...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question