Geht nicht, gibts nicht. Die Datei wird direkt in einem Tempverzeichnis zwischengespeichert.
und das die erste Datei:
<form name="form1" method="post" action="datei2.php">
<br>
<br>
<table width="619" border="0" cellspacing="2" cellpadding="0" class="fontM">
<tr>
<td width="186><input type="submit" name="Submit" value="speichern">
zurück</td>
<td width="344"> </td>
</tr>
</table>
</form>
das ist der Code der datei2.php, damit das Popup nicht geblockt wird:
<?
if(isset($_POST['Submit'])){
$var = $_ENV["TEMP"];
$file="$var\datei.txt";
header("Content-type: application/octet-stream");
header("Content-Disposition: attachment; filename=datei.txt");
readfile($file);
}
?>