PHP header("Location: TO OUTPUT FLE TXT code example
Example 1: php redirect
header("Location: http://example.com");
die();
Example 2: header location php
<?php
// This will just redirect you to example.com
$url = "https://example.com";
header("Location: $url");
?>