function

err_headers_out . response . sncode

VERSIONlatest Display/set headers out.

ERR_HEADERS_OUT

NAME

err_headers_out - Display/set headers out.

SYNOPSIS

err_headers_out("key", "value" ["key", "value"]*)

DESCRIPTION

This function is used to get the headers_out values or set them.

If not parameters are specified, the function return the current list of headers.

With err_headers_out and a redirect, the headers are preserved.

Key and value for firefox must not contains /.

EXAMPLES

err_headers_out("X-code", "SedNove", "X-code2", "Extenso");
a = headers_out();

err_headers_out("Content-Disposition",'attachment; filename="test.xls"');

AUTHOR

Written by Pierre Laplante, <laplante@sednove.com>