What is the purpose of ob_start() ?

Started by beingchinmay, 04-04-2017, 01:38:55

Previous topic - Next topic

beingchinmayTopic starter

OB_start() turn on the output buffer. While the buffer is on, no output is sent rather it is stored in the internal buffer. Inorder to get content from output Ob_get_content function can be used.


kentowin

ob_start() tells PHP to start output buffering, meaning that anything you output after ob_start() wont be sent to the browser until the end of the page or ob_end() etc are reached.
newbielink:http://www.kentowin.com [nonactive]
  •  


pitterjhon44

What is the purpose of ob_start() ?
  •