Ok, now each page of my site includes header.php, the body and footer.php.
Simple:
header.php
<? ob_start($foo); ?>
footer.php
<?
echo "\$foo ob_get_length = " . ob_get_length();
echo "\$foo strlen = " . strlen(ob_get_contents()) . "<br>";
?>
Using ob_get_length() and strlen(ob_get_contents()) i don't get the same value! Why the value returned by strlen is always 35 bytes greater than the value returned by ob_get_length?
An other question: this value what exactly rapresent? Can i assume that's the length in bytes of the page??
Thankyou everybody and excuse for my bad english 😉
ciao Paolo