Check out Scrivo

Do you want to try out Scrivo? Then here's a demo for you that does not just get your feet wet but lets you plunge right in.

Contact us

For more information, please contact us. We're happy to help you out!

Next Nov 5 Previous

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 header()
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.