What is the purpose of ob_start() ?

Author Topic: What is the purpose of ob_start() ?  (Read 5732 times)

Offline beingchinmayTopic starter

  • Trade Count: (0)
  • Jr. Member
  • **
  • Thank You 1
  • Posts: 73
  • Karma: 0
  • Gender: Male
  • I am Chinmay
    • Modular Kitchen Designer
What is the purpose of ob_start() ?
« on: 04-04-2017, 01:38:55 »
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.


Offline kentowin

  • Trade Count: (0)
  • Newbie
  • *
  • Thank You 0
  • Posts: 4
  • Karma: 0
  • Gender: Female
    • http://www.kentowin.com/
Re: What is the purpose of ob_start() ?
« Reply #1 on: 02-27-2018, 22:48:15 »
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]

Offline pitterjhon44

  • Trade Count: (0)
  • Semi-Newbie
  • *
  • Thank You 0
  • Posts: 15
  • Karma: 0
Re: What is the purpose of ob_start() ?
« Reply #2 on: 07-08-2018, 20:47:58 »
What is the purpose of ob_start() ?

 

Related Topics

  Subject / Started by Replies Last post
17 Replies
11539 Views
Last post 11-25-2016, 23:11:02
by pablohunt2812
1 Replies
1349 Views
Last post 05-16-2016, 00:58:52
by TomClarke
18 Replies
7074 Views
Last post 08-11-2017, 01:38:43
by Sojan Babu
18 Replies
8702 Views
Last post 08-01-2016, 04:34:01
by Shikha Singh
7 Replies
4007 Views
Last post 07-30-2016, 04:21:37
by Shikha Singh