PHPee.com PHP development forum
headers already sent

 
Post new topic   Reply to topic    phpee.com Forum Index -> PPhlogger bug reports
View previous topic :: View next topic  
Author Message
chromer



Joined: 08 Feb 2004
Posts: 3

PostPosted: Sun Feb 08, 2004 3:08 pm    Post subject: headers already sent Reply with quote
the experienced might not consider it a bug, and at one time, I didn't either when I was writing my own php projects.

However, it is a bug. Why?

Because for instance on some servers you can't edit php.ini and set the output bufferring to on and then you have to add manually the function
ob_start(); to config.inc.php near the top and the function ob_end_flush(); to the bottom of include/foot.inc.php

Do that solves the headers already sent problem on systems where one can not edit their own php.ini file. For instance, I use mesopia and there you can't edit it if you are using a shared host.
_________________
www.lambroger.com
www.alanscomputerservices.com
Back to top
View user's profile Send private message
sdjl
Moderator


Joined: 17 Nov 2003
Posts: 1015
Location: London, UK

PostPosted: Mon Feb 09, 2004 12:52 pm    Post subject: Reply with quote
Why do you need output buffering on in the first place?

I don't understand what bug you are reporting for pphlogger... Care to explain?

You could add the following to your scripts to turn output buffering on:

PHP:
ini_set ('output_buffering', 1);
?>


David
_________________
-----
Free Logger Accounts | PPHlogger Manual | PM Me
Back to top
View user's profile Send private message Visit poster's website
Post new topic   Reply to topic    phpee.com Forum Index -> PPhlogger bug reports All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB
Theme design based on Team 101 Designs, modified by Philip Iezzi