headers_out . response . sncode
latest
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
AUTHOR
Written by Pierre Laplante, <laplante@sednove.com>