View Single Post
Old 06-04-2008, 08:59 PM   #19 (permalink)
sarmenhb
The Addict
 
sarmenhb's Avatar
 
Join Date: Jan 2008
Location: los angeles
Posts: 309
Thanks: 44
sarmenhb is on a distinguished road
Default

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
__________________
no signature set
sarmenhb is offline  
Reply With Quote