RE: [PHP] 'Cannot send Headers' Problem!!
| From: | PHPSpooky | Date: | Fri, 27 Jun 2003 13:45:12 +0000 |
| Subject: | RE: [PHP] 'Cannot send Headers' Problem!! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-153135@lists.php.net to get a copy of this message | ||
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:kilimajer@webglobe.sk]
> Sent: Friday, June 27, 2003 6:57 PM
> To: phpspooky@mjimm.com
> Cc: php-general@lists.php.net
> 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.
>