When I access one file, I eventually get a dialog to download the file, rather than... whatever it outputs to the screen. All other PHP files work just fine. Using firefox, and in the file I also have: $maxTime = 60 * 60 * 12; // Max time - 12 hours ini_set('max_execution_time', $maxTime); set_time_limit($maxTime); @ignore_user_abort(1); PHP: Can anyone explain why it would be doing this?
Sounds interesting. The script shown doesn't do any download dialog. Please post the complete file so we can examine it.