About the enhanced use of callback functions.
When the structure of the program is more complex, more introduction and no rule reference. There is an echo ' aaaa ' in a file; Will affect the program output.
function Ob_gzip ($content)
In such a callback function how to judge the program has echo print and all the non-HTML output?
Try not to output the content in the callback function Ah, my more than 10 k common.class.php file does not let it have a space, lest the call of the time of the problem.
To make a regular reference.
Single inlet, shallow construction
I want to limit it to the echo output .... Be sure to have it output in HTML. To ensure that the procedure can be performed in a healthy state.
That's what this is about.
Write a function for me ...
The Grass Bird learns
Oh ah, study the
Direct file start Ob_start (); It's okay.
Ob_start (); Now that there is, it is still not possible to judge when Echo happened and how to abort it.
http://www.bkjia.com/PHPjc/632602.html www.bkjia.com true http://www.bkjia.com/PHPjc/632602.html techarticle the problem with the enhancement of the callback function. Solution when the program structure is more complex, introduced and no rule reference. There is an echo ' aaaa ' in a file, which will affect the program output ...