Glory! Well so far all solutions have failed.. I gave the include functions as the first line of my directory.php as this..
<?php include("global.inc.php");?> I've given HTML in it's original form.. as well as in echo.. tried both.. This.. <body bgcolor="#314160" background="bg.jpg" topmargin=0 marginheight=0 link=#ffdead vlink=#ffffff alink=#ffdead> Or this.. echo "<body bgcolor=#314160 background=\"bg.jpg\" topmargin=0 marginheight=0 link=#ffdead vlink=#ffffff alink=#ffdead>"; for each line. And yet nothing is working! I still get the Headers cannot be modified error.. Is there no solution to this problem? PHPSpooky > -----Original Message----- > From: Marek Kilimajer [mailto:[EMAIL PROTECTED] > Sent: Friday, June 27, 2003 7:25 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] 'Cannot send Headers' Problem!! MOre.. > > The top means the top of the file, not the top of your coding. > Simply: > Line 1. of directory.php: <?php include_once("global.inc.php") ?> > Line 2. of directory.php: <html> > Line 3. of directory.php: <head> > .... > > PHPSpooky wrote: > >>Headers can't be sent after HTML output, it's as simple > >>as it sounds. What that means is, if you suddenly decide > >>you want to send a Location header to redirect the browser, > >>you can't if you outputted any HTML before the line that > >>outputs the location, unless ofcourse your using Output > >>Buffering. > > > > > > Excellent.. I understand that fine. But what is the solution for this? > > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php