Assume that I need some generic error handling, which can all be said ...
Ideally, I just want to redirect to the error page using the header ('location: ... , but certainly I can not do that if an output is written then ...
1) How can I find out that any output is written?
2) How can I load a new page if it is?
Maybe I should buffer the buffer page and only once I'm sure that it is complete and there can be no other error? Use the itemprop = "text">
Code> ob_start () call.
There are other options that you can take advantage of if you want:
Comments
Post a Comment