Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Clearing the buffer 1

Status
Not open for further replies.

overflo

Technical User
Feb 10, 2003
70
AU
Is it necessary to clear the buffer in php 5. Cheers
 
if you mean the output buffer, this is cleared automatically at the end of the script. if your buffer is becoming very large and you are having memory problems then you can consider flushing the buffer at intervals in your code. flushing sends the output to the browser, cleaning destroys the current buffer.

i recall that there is also a setting in php.ini for limiting the buffer size.

if you don't mean the output buffer, what do you mean?
 
I did mean output buffer. sorry for not being clear, and thanks for answering

Cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top