Sponsored Content
Contact Us Post Here to Contact Site Administrators and Moderators Use of Cartoonsin Cartoons for Geeks Post 303000206 by Margaret P on Thursday 6th of July 2017 08:28:31 AM
Old 07-06-2017
Thank you

Thank you, Scott, for our very fast response.
 
HTTP_RESPONSE_CODE(3)							 1						     HTTP_RESPONSE_CODE(3)

http_response_code - Get or Set the HTTP response code

SYNOPSIS
int http_response_code ([int $response_code]) DESCRIPTION
If you pass no parameters then http_response_code will get the current status code. If you pass a parameter it will set the response code. PARAMETERS
o $response_code - The optional $response_code will set the response code. <?php http_response_code(404); ?> RETURN VALUES
The current response code. By default the return value is int(200). EXAMPLES
Example #1 Examples using http_response_code(3) <?php // Get the current default response code var_dump(http_response_code()); // int(200) // Set our response code http_response_code(404); // Get our new response code var_dump(http_response_code()); // int(404) ?> The above example will output: SEE ALSO
header(3), headers_list(3). PHP Documentation Group HTTP_RESPONSE_CODE(3)
All times are GMT -4. The time now is 03:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy