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

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -