Goto main content

err_headers_out

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"');

SEE ALSO

{{ include("includes/variables.sn") }}

AUTHOR

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

MODIFICATIONS

1.0 2014-09-09 21:24:14 laplante@sednove.com

Edit

© 2024 extenso Inc. All rights reserved.