update : 2015.11.03
php.shukuma.com검색:
|
http_response_code(PHP 5 >= 5.4.0) http_response_code — Get or Set the HTTP response code 설명
int http_response_code
([ int
$response_code
] )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. 인수
반환값The current response code. By default the return value is int(200). 예제
Example #1 Examples using http_response_code()
<?php 위 예제의 출력: 참고
|