RE: [PHP] 'Cannot send Headers' Problem!!
| From: | (Edward Peloke) | Date: | Fri, 27 Jun 2003 13:59:50 +0000 |
| Subject: | RE: [PHP] 'Cannot send Headers' Problem!! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-153140@lists.php.net to get a copy of this message | ||
there is something in your global.inc.php that is sending output...
-----Original Message-----
From: PHPSpooky [mailto:phpspooky@mjimm.com]
Sent: Friday, June 27, 2003 9:45 AM
To: 'Marek Kilimajer'
Cc: php-general@lists.php.net
Subject: RE: [PHP] 'Cannot send Headers' Problem!!
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.
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php