Tag: PHP
http_response_code() and header()
1.http_response_code
Get/set the HTTP status code of the response.
Send a successful status code to the server: http_response_code(200);
Return Value
If response_code is provided, the previous status code...