Código PHP:
<?php
$archivo = 'archivo.txt';
$fp = fopen($archivo,'r');
$cadena = fread($fp, filesize($archivo));
$cadena = str_replace("&", "", $cadena);
$arreglo = explode("\n", $cadena);
$resultado = Array();
foreach($arreglo as $linea)
{
$partes = explode("=", $linea);
echo $partes[0] . " vale " . $partes[1] . "<br>";
$resultado[] = $partes[1];
}
?>
<html>
<head>
<title>Formulario</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
<form name="form1" method="post" action="news.php">
<table style="border: 2px dotted gray;margin-right:auto;margin-left:auto;">
<tr>
<td width="100%" align="center">
<input type="text" name="tip" VALUE="<?= $resultado[1] ?>" size="20">
<input type="text" name="mts" VALUE="<?= $resultado[2] ?>" size="20">
<input type="text" name="pr1" VALUE="<?= $resultado[3] ?>" size="20">
<input type="text" name="fecha1" VALUE="<?= $resultado[4] ?>" size="20">
<input type="text" name="cap" VALUE="<?= $resultado[5] ?>" size="20"><input type="submit" value="Enviar"></form></td></tr></table>
</body>
</html>
Quizá asi funcione..