ob_start

Discussion in 'PHP' started by santoshshinde, Aug 1, 2008.

  1. #1
    Why we should not use ob_start() function in php coding?














    Smile a lot,it costs nothing.:)
     
    santoshshinde, Aug 1, 2008 IP
  2. jayshah

    jayshah Peon

    Messages:
    1,126
    Likes Received:
    68
    Best Answers:
    1
    Trophy Points:
    0
    #2
    :)

    You would not need it if you needed to output a lot of content, and don't want it all loading at once, (imagine:

    Downloading: 0%,0%,0%,0%,100%

    Is better as: 25%...100%

    Hope that helps :)

    Jay
     
    jayshah, Aug 2, 2008 IP
  3. wmtips

    wmtips Well-Known Member

    Messages:
    601
    Likes Received:
    70
    Best Answers:
    1
    Trophy Points:
    150
    #3
    You should use particular function if you need it, and vise versa. ob_start is useful in many cases.
     
    wmtips, Aug 2, 2008 IP