Whoops, already sent
PHP has a function named
headers_sent() that lets you check if the HTTP headers created with
header() are already sent. But when does PHP actually send these headers?
A: directly after each call to
B: before the first line of output
C: after the last call to
header() in your script
D: that depends whether you use output buffering or not
Choose the best answer.