28, May 2012

Does anyone here use Output Buffering? - webmaster forum

 
Webdigity webmaster forums
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP
Topic: Does anyone here use Output Buffering?
« previous next »
Pages: [1] Print
Instabuck - The easy way to sell digital products online

Author Topic: Does anyone here use Output Buffering?  (Read 2250 times)
Total Zero
*
Posts: 5
38 credits
Members referred : 0


« on: Nov 19, 2007, 09:31:22 pm »

http://us3.php.net/outcontrol
Just curious, because I make these little CMS systems and it might be great to avoid "header already sent..." errors.
Right now I just use best practices to avoid those errors, does this work well?
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #1 on: Nov 20, 2007, 10:12:17 am »


...and it might be great to avoid "header already sent..." errors.


just code the right way and you error's are gone

Cyberpunk Wannabe
*
Posts: 34
208 credits
Members referred : 0


« Reply #2 on: Nov 20, 2007, 12:06:37 pm »

Yes, I use output buffering, but not to avoid the "headers already sent" problem: I use output buffering to compress the page, for reduced bandwidth usage and faster download, as I described in my recent blog entry: http://www.justsoftwaresolutions.co.uk/webdesign/reduce-bandwidth-by-compressing-pages.html
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #3 on: Nov 20, 2007, 12:07:28 pm »

Yes, I use output buffering, but not to avoid the "headers already sent" problem: I use output buffering to compress the page, for reduced bandwidth usage and faster download, as I described in my recent blog entry: http://www.justsoftwaresolutions.co.uk/webdesign/reduce-bandwidth-by-compressing-pages.html

100% right

I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #4 on: Dec 07, 2007, 10:39:52 am »

If you are using output buffering for compression is ok. If you use it to stop seeing "Headers already sent" errors then you just wasting memory.

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=7386
Tags : php cms Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP
Topic: Does anyone here use Output Buffering?
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 08:49:36 pm





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!






Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2012 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.