best way to redirect with php

PHP
header("Location: http://example.com/myOtherPage.php");
die();header("Location: http://example.com");
die();
Source

Also in PHP: