Recently we upgraded from PHP 2.something... to 4.2.3. All of our scripts were working just fine, and after the upgrade we had to do some modifying. Anyway, I've found that in one of our php pages, we have code sending info to the header:
header("Content-type: text/plain");
That line of code is causing the web browser to prompt the user to download the file instead of parsing it.
We are using IIS 5.0 on Win2k Server with PHP 4.2.3. And I've found out that we HAVE to have it send that header. So is there ANY WAY to edit IIS or PHP.INI to tell PHP.EXE how to handle this header?
Thanks!