Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
<?
if($submit){
$file2 = explode(\"\\\\\",$file);
$zahl = count($file2);
for($i=0;$i<$zahl-1;$i++){
$stelle = $file2[$i];
$path .= \"$stelle/\";
}
$datei = $file2[$zahl-1];
$alt = fopen($path.$datei,r);
$expl = explode(\".\",$datei);
$neu = fopen($path.$expl[0].\"_neu.\".$expl[1],w);
while(!feof($alt)){
$txt_alt = chop(fgets($alt,4096));
$txt_neu = \"$vor$txt_alt$nach
\";
fputs($neu,$txt_neu);
}
fclose($alt);
fclose($neu);
}
?>
<form method=\"POST\" action=\"?\">
<input type=\"text\" name=\"vor\" size=\"20\"> vorher</p>
<p><input type=\"text\" name=\"nach\" size=\"20\"> nachher</p>
<p><input type=\"file\" name=\"file\" size=\"20\"> Datei</p>
<p><input type=\"submit\" value=\"Abschicken\" name=\"submit\">
<input type=\"reset\" value=\"Zurücksetzen\" name=\"löschen\"></p>
</form>