Clean error page without output buffering
| From: | iio7 at protonmail dot com | Date: | Tue, 19 Oct 2021 20:52:44 +0000 |
| Subject: | Clean error page without output buffering | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-327767@lists.php.net to get a copy of this message | ||
Normally an error in the output generating code, whether generated with a template engine or just by
using PHP as the template engine (which is what I do), will display AFTER any prior output has
already reached the browser.
Is it possible to make a custom error and exception handler display a clean page with a custom
message without the use of output buffering?