リダイレクトするには、header関数を使用します。
サンプルソース
例1)Yahooページにリダイレクトする
<?php
  header("Location: https://www.yahoo.co.jp/");
  exit;
例2)../sample.html にリダイレクトする
<?php
  header("Location: ../sample.html");
  exit;
備考
- exit; は無くても問題ないですが書いておくと安心です。
PHPの開発や勉強にご活用ください
2015年9月10日
リダイレクトするには、header関数を使用します。
<?php
  header("Location: https://www.yahoo.co.jp/");
  exit;
<?php
  header("Location: ../sample.html");
  exit;