JavaScript Editor Javascript debugger     Website design 

http_send_status

Send HTTP response status (PECL pecl_http:0.1.0-1.5.5)
bool http_send_status ( int status )

Send HTTP status code.

Parameters

status

HTTP status code (100-599)

Return Values

Returns TRUE on success or FALSE on failure.

See Also
the HttpResponse class if you are using PHP-5.1 and above