Goto main content

headers_out

Display/set headers out.

HEADERS_OUT

NAME

headers_out - Display/set headers out.

SYNOPSIS

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.

Key and value for firefox must not contains /.

EXAMPLES

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

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

To set the content type use the set_content_type function

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.