php - ob_start() works fine on local but not on server -
i making application use ob_start() function. works fine on local machine, when launch on online server, doesn't work. no error displayed, empty page displayed. have configuration on server? please me. code below
ob_start(); include("text.php"); $data = ob_get_contents(); ob_end_clean();
with reference below link
have checked php configuration file php.ini ?
ob_start() , ob_flush() doesn't work
please check if output_buffering has set value , not set off.
Comments
Post a Comment