i found the garbage that was being sent out in the header i did this
Code:
<?php echo headers_sent(); ?>
on the first line of the page
and i get a number 1 value but i cant figure out where its coming from.
it doesnt exist anywhere. i have done a search all over for it.
i tried using ob_flush() and flush() but nothing happends. how can i clear it?
if i tried something like
Code:
if (headers_sent() == TRUE) { clear headers }
i also tried this
Code:
var_dump(headers_sent());
and i get this outputed --> bool(true)
how can that be done? thanks