5, September 2008

Does anyone here use Output Buffering? - webmaster forum

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ 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

Author Topic: Does anyone here use Output Buffering?  (Read 643 times)
I crack Photoshop!
*
Posts: 3
26 credits
Members referred : 0


« on: Nov 19, 2007, 10:31:22 PM »

http://us3.php.net/outcontrol Visit through proxy
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: 6309
38674 credits
Members referred : 374


It's time to use PHP5!


« Reply #1 on: Nov 20, 2007, 11: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


Last blog : Is your website is down? Know before your visitors do!
Nikolas' Servant Child
*
Posts: 30
184 credits
Members referred : 0


« Reply #2 on: Nov 20, 2007, 01: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 Visit through proxy
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6309
38674 credits
Members referred : 374


It's time to use PHP5!


« Reply #3 on: Nov 20, 2007, 01: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 Visit through proxy

100% right


Last blog : Is your website is down? Know before your visitors do!
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 8037
41179 credits
Members referred : 3



« Reply #4 on: Dec 07, 2007, 11: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 Visit through proxy

Last blog : MIA - Where Nick and Tim
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....

Topic sponsors:
Get a permanent link here for $1.99!


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?
Sep 05, 2008, 05:18:21 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!


Forum Statistics
Total Posts: 36.293
Total Topics: 7.476
Total Members: 3.899
Tutorials : 56
Resources : 143
Designs : 220
Latest Member: speedy5044

33 Guests, 4 Users online :

15 users online today:



Readers

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