Forum

MamboHacks.com => Mambo-SMF Forum 1.3.0 Support => Topic started by: raju on May 13, 2005, 06:55:58 AM



Title: ob_flush problem in php 4.1
Post by: raju on May 13, 2005, 06:55:58 AM
Hello,
I have mambo and SMF installed in php less than 4.2. So ob_flush command in the smf.php file is not recognised. Below is the snipped of the code.

ob_start();
chdir($smf_path);
include('index.php');
chdir($mosConfig_absolute_path);
$buffer = ob_get_contents();
ob_end_clean();
flush();
ob_flush();
ob_end_flush();

To work my way out i simply deleted the ob_flsuh() command. It seems to work but since I have that sometime the user have to login in upto 5 times before he successfully logins, I want to ask is removing the ob_flush() command harmful. If it is then how can I get over it.
Thanks


Forum | Powered by SMF 1.0.5 & Mambo-SMF.
© 2001-2005, Lewis Media. All Rights Reserved.