Glory!

Done this long time back.. moved include("global.inc.php"); to the top.
Right after <? In the directory.php page.

I understand what you're saying about HTML being the output.

I also put in all of my HTML code in echo now, instead of regular HTML. 

Still the same.. now I get ..

Warning: Cannot modify header information - headers already sent by
(output started at /home/unbreaka/public_html/mjs/directory.php:55) in
/home/unbreaka/public_html/mjs/global.inc.php on line 533


Line 55 in my directory.php is where the echo statement ends which
contains all HTML codes, and the core php coding begins...

PHPSPooky

> -----Original Message-----
> From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 27, 2003 6:57 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] 'Cannot send Headers' Problem!!
> 
> Move include("global.inc.php"); to the top of any file that includes
it.
> Always do it this way, it can spare you lots of trouble.
> 


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

Reply via email to