php redirect to url sending post parameters code example Example: php redirect to url header("Location: http://example.com/myOtherPage.php"); die();