I have an application that works fine on my local server(wamp, apache v2.22.2, php 5.4.3) and test unix server (apache, php 5.3).
But it won't work on production server which is running on Windows because of some other requirements.
Code goes like this:
function renderFile()
...
ob_start();
ob_implicit_flush(false);
require($_viewFile_);
return ob_get_clean();
Problem is that the contents of the file that is included is outputed immediately and not returned from function.
The thing is it works on local and test servers but not on new production server which is on windows. Is it because of apache/iis or php configuration?