function

http_status . response . sncode

VERSIONlatest Set return status code in HTTP header.

HTTP_STATUS

NAME

status - Set return status code in HTTP header.

SYNOPSIS

http_status(code);

DESCRIPTION

This function set return status code for HTTP protocol. After setting the status code, the function

set_content_type must be call to make it effective

EXAMPLES

http_status(404); set_content_type("text/html");

AUTHOR

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