Aller au contenu principal

http_status

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

SEE ALSO

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.