Page 1 of 1

memmory - browser lag after some use

Posted: Thu Jan 19, 2012 9:13 am
by lioslios
guys for some reson my browser lags on my page, but not in the start of use, but after i use the page for while,

in every php file i use the

<?php
ob_start();
.........


ob_flush();
ob_end_clean();

?>


also in some submit buttons i have the
header("location:someotherfile.php");
exit();

to call other pages


is any other command that cleans the buffers or memory.. i think somthing like this is my problem
im beginer with php
any idea??

Re: memmory - browser lag after some use

Posted: Thu Jan 19, 2012 11:12 am
by Tiancris
I found strange that you have php code in your buttons. Where you put that code exactly? May be HTML code of that page isn't correct and that's the reason of the lag...