Use any solution from
here[
^].
[Answer found by OP by researching the links I posted above]
page.php
ob_start();
include('Templates/Login/_header.php');
$buffer=ob_get_contents();
ob_end_clean();
$buffer=str_replace("%TITLE%","Login",$buffer);
echo $buffer;
header.php
<title>%TITLE%</title>