cordoprod Posted July 13, 2008 Share Posted July 13, 2008 hello. is it possible to have multiple ob_start in one page? cus i need to have one to replace with callback and another just ob_start() to make the header() work. Link to comment https://forums.phpfreaks.com/topic/114555-solved-ob_start/ Share on other sites More sharing options...
JonnyThunder Posted July 13, 2008 Share Posted July 13, 2008 Output buffers are stackable' date=' that is, you may call ob_start() while another ob_start() is active. Just make sure that you call ob_end_flush() the appropriate number of times. If multiple output callback functions are active, output is being filtered sequentially through each of them in nesting order[/quote'] More info ... HERE! Link to comment https://forums.phpfreaks.com/topic/114555-solved-ob_start/#findComment-589064 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.