Cannot modify header information - headers already sent by ...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I fixed this last time by looking for white space both before and
after the opening and closing php tags, as a Google search had
revealed.  But this time, I've spent an hour running down various
files and not seeing what the heck is wrong.  Here's the essential
setup.

main.php
<?

require_once 'shared_style.php';
require_once 'something.php'

?>

shared_style.php
<style>

a.friend_selector_tabs:hover {
        background: #E4E4F8 none repeat scroll 0%;
}

.title_msg {
        font-size: 14px;
        color: #444444;
        font-weight:bold;
}



</style>

The something.php has a setcookie call on the line number that PHP is
complaining about for headers.  What am I doing wrong that's causing
even mire headers to be generated?  I tried moving the require_once
'something.php' above, but no luck there either.

Thanks for any help,
Waynn

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux