|
@ -1,3 +1,17 @@ |
|
|
|
|
|
<?php |
|
|
|
|
|
session_start(); |
|
|
|
|
|
|
|
|
|
|
|
if ($_GET['lst']=='1'){ |
|
|
|
|
|
$file = "Antrag.pdf"; |
|
|
|
|
|
header('Content-Disposition: attachment; filename="'. $file . '"'); |
|
|
|
|
|
header('Content-Length: ' . strlen($_SESSION['lst'])); |
|
|
|
|
|
|
|
|
|
|
|
echo $_SESSION['lst']; |
|
|
|
|
|
|
|
|
|
|
|
die; |
|
|
|
|
|
} |
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
|
<html> |
|
|
<html> |
|
|
<head> |
|
|
<head> |
|
|
<title>Kostenerstattungsforumlar</title> |
|
|
<title>Kostenerstattungsforumlar</title> |
|
@ -13,10 +27,7 @@ |
|
|
|
|
|
|
|
|
</head> |
|
|
</head> |
|
|
<body> |
|
|
<body> |
|
|
|
|
|
|
|
|
<?php |
|
|
<?php |
|
|
session_start(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
error_log("SUBMIT\n"); |
|
|
error_log("SUBMIT\n"); |
|
|
|
|
|
|
|
@ -464,9 +475,14 @@ if ($_POST['sendmail']=='yes'){ |
|
|
class="button is-orange"><?=_("Kopie des Antrags herunterladen")?></button>
|
|
|
class="button is-orange"><?=_("Kopie des Antrags herunterladen")?></button>
|
|
|
</div> --> |
|
|
</div> --> |
|
|
<?php |
|
|
<?php |
|
|
|
|
|
|
|
|
|
|
|
echo '<a href="./submit.php?lst=1" target="_blank">Kopie des Antrags herunterladen</a>'; |
|
|
|
|
|
echo "<br>"; |
|
|
echo '<a href="./"> |
|
|
echo '<a href="./"> |
|
|
Weiteren Antrag auf Kostenerstattung stellen</a><BR>'; |
|
|
Weiteren Antrag auf Kostenerstattung stellen</a><BR>'; |
|
|
|
|
|
|
|
|
|
|
|
$_SESSION['lst']=file_get_contents("$resultnam.pdf"); |
|
|
|
|
|
session_write_close(); |
|
|
|
|
|
|
|
|
die; |
|
|
die; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|