header() 関数を使用して、HTTPヘッダー情報を送信することができます。
<?php header("Content-type: text/html charset=UTF-8"); ?>
<?php header("HTTP/1.1 200 OK"); ?>
<?php header("Location: http://testdomain.com/"); ?>
▲このページの上へ
スポンサーリンク