Problem
About the enhanced use of callback functions.
Workaround
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?
Reference answer
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.
Reference answer
To make a regular reference.
Single inlet, shallow construction
Reference answer
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.
Reference answer
Ob_start ()
That's what this is about.
Reference answer
Write a function for me ...
Reference answer
The Grass Bird learns
Reference answer
Oh ah, study the
Reference answer
Direct file start Ob_start (); It's okay.
Reference answer
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 ...