views:

224

answers:

2

For some reason my xampp server is buffering the output of my php. I want it to spit it out as it goes. Anyone any ideas which settings I need to change to achieve this?

Thanks

A: 

Check out ob_end_flush(), the manual's chapter on output control - specifically the php.ini settings.

Of course if you're just getting a blank page, check your error reporting settings - it's very possible an error halts the script, and with error reporting off you see nothing.

Tim Lytle
I checked in the php.ini output buffering is off and ob_end_flush does not give an output... could anything else be stopping my script from echoing during execution?
Mark
If you're using some kind of framework, it maybe setting up output buffering regardless of the settings. If all you get is a blank page, check error reporting. Any example code/output?
Tim Lytle
A: 

Have a look in your php.ini for:

output_buffering

TheCandyMan666