I
I
Ilya Beloborodov2021-07-23 10:25:59
PHP
Ilya Beloborodov, 2021-07-23 10:25:59

What is the test question?

Threw off the test with a question

What command can send data to the browser from the PHP buffer until the end of the script


What is it about? ))

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey Sokolov, 2021-07-23
@sergiks

ob_flush() probably

T
ThunderCat, 2021-07-23
@ThunderCat

most likely it was flush() that was meant, and not ob_flush(), but since 2012 this whole topic has not been working .

O
Oleg, 2021-07-23
@402d

https://overcoder.net/q/16035/%D0%BF%D1%80%D0%BE%D...
crooked translation from stackoverflow, but too lazy to look for the original.
by reference for the case when you need to give the entire response and something to remain counted in the background.
if you need to write and add to the stream in the course of work, then just flushing may not be enough, then the output is finished off for the length of the packet (roughly a thousand gaps).
In general, this is a normal question, a stupidly necessary function, or you know another rake.
Here and the formation of a complete http response with handles and work with sessions. And a little about how the transport layer works.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question