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