Glory!

You mean for testing I make a new page and put these two functions? Or
do you want me to place these on the top and bottom of my existing
global.inc.php page?

PHPSpooky

And PS : what is "HTH" ?


> -----Original Message-----
> From: Jay Blanchard [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 27, 2003 6:11 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [PHP] 'Cannot send Headers' Problem!!
> 
> [snip]
> On the internet server, apart from the beginning tables & html, this
is
> what I get ..
> 
> <b>Warning</b>:  Cannot modify header information - headers already
sent
> by (output started at /home/unbreaka/public_html/mjs/directory.php:3)
in
> <b>/home/unbreaka/public_html/mjs/global.inc.php</b> on line
> <b>531</b><br />
> <br />
> <b>Warning</b>:  Cannot modify header information - headers already
sent
> by (output started at /home/unbreaka/public_html/mjs/directory.php:3)
in
> <b>/home/unbreaka/public_html/mjs/global.inc.php</b> on line
> <b>532</b><br />
> <br />
> <b>Warning</b>:  Cannot modify header information - headers already
sent
> by (output started at /home/unbreaka/public_html/mjs/directory.php:3)
in
> <b>/home/unbreaka/public_html/mjs/global.inc.php</b> on line
> <b>533</b><br />
> 
> And the code just ends here abruptly. Not a word after this.
> [/snip]
> 
> Make ob_start() your first line of PHP code, and ob_end_flush() as the
> last line of PHP code, place it on the server and test that. Your
> global.inc.php is outputting a header on line 3. It is sending
something
> to the browser on line 3. What is line 3? If it is setting a cookie it
> is outputting a header!
> 
> HTH!
> 
> Jay
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to