O'Reilly logo

Programming PHP, 3rd Edition by Peter MacIntyre, Kevin Tatroe, Rasmus Lerdorf

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

headers_sent

Synopsis

bool headers_sent([ string &file [, int &line ]] )

Returns true if the HTTP headers have already been sent. If they have not yet been sent, the function returns false. If file and line options are provided, the filename and the line number where the output began are placed in file and line variables.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required