Re: 'Cannot send Headers' Problem!! MOre..
| From: | Marek Kilimajer | Date: | Fri, 27 Jun 2003 13:54:37 +0000 |
| Subject: | Re: 'Cannot send Headers' Problem!! MOre.. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-153138@lists.php.net to get a copy of this message | ||
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?