Re: header

From: Date: Thu, 05 Sep 2002 12:16:32 +0000
Subject: Re: header
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-21582@lists.php.net to get a copy of this message
That's wrong!!! the output starts erlier everything and i mean realy everything outside <? ... ?> is output!!! remember that it's php native behavior to send stuff outside <? .. ?> to the client with the standard header for plain text greet Martin ----- Original Message ----- From: "Devrim GUNDUZ" <devrim@oper.metu.edu.tr> To: "Meltem Demirkus" <mdemirkus@momentum-dmt.com> Cc: <php-db@lists.php.net> Sent: Thursday, September 05, 2002 2:08 PM Subject: Re: [PHP-DB] header > > Hi, > > On Thu, 5 Sep 2002, Meltem Demirkus wrote: > > > > Warning: Cannot add header information - headers already sent by (output > > started at C:\FoxServ\www\debugger\project_module\start_html.php:5) in > > C:\FoxServ\www\debugger\project_module\project_add_.php on line 11 > > > > start_html.php file includes: > > > > <? include("defaults.php") ?> > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> > > <HTML> > > <HEAD> > > <TITLE><? echo $page_title ?></TITLE> > > <META http-equiv="Content-Type" content="text/html; charset=windows-1254"> > > </HEAD> > > <BODY> > > Check the error: "Warning: Cannot add header information - headers already > sent by (output started at > C:\FoxServ\www\debugger\project_module\start_html.php:5) "; > > let's check line 5: > > <TITLE><? echo $page_title ?></TITLE > > this is an output. > > Best regards. > -- > > Devrim GUNDUZ > > devrim@oper.metu.edu.tr Tel : (312) 295 9318 > devrim.gunduz@linux.org.tr Faks : (312) 295 9494 > > Web : http://devrim.oper.metu.edu.tr > ------------------------------------- > > > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > >

« previous php.db (#21582) next »