■目次
PHP|HTTPステータスコード 404 Not Found を返す
スポンサーリンク
404 Not Foundを返す
PHPのheader()でHTTPヘッダーを返す事ができます。
以下の例では、404 Not Foundを返しています。
<?php header("HTTP/1.1 404 Not Found"); exit;
更新日:2018年10月07日
作成日:2018年10月07日
■目次
スポンサーリンク
PHPのheader()でHTTPヘッダーを返す事ができます。
以下の例では、404 Not Foundを返しています。
<?php header("HTTP/1.1 404 Not Found"); exit;
更新日:2018年10月07日
作成日:2018年10月07日
スポンサーリンク