5) { $id2=$id; $id3="?".$id; if ($ok>0) { $endung="?id=".$id."&ok=1"; $eingeloggt="| Sie sind angemeldet. Ihre ID lautet: ".$id." |"; } } $xfilename="xdatenvp/xoben.html"; $fpx=fopen($xfilename,'r'); $xfileinhalt = fread($fpx, filesize($xfilename)); fclose($fpx); $xfileinhalt = str_replace("#id#", $id2, $xfileinhalt); $xfileinhalt = str_replace("#idfragezeichen#", $id3, $xfileinhalt); $xfileinhalt = str_replace("#endung#", $endung, $xfileinhalt); $xfileinhalt = str_replace("#eingeloggt#", $eingeloggt, $xfileinhalt); echo $xfileinhalt; include("xx_kontrollvp.php"); if ($ok>0) { $xfilename="xdatenvp/".$sprache.".html"; $fpx=fopen($xfilename,'r'); $xfileinhalt = fread($fpx, filesize($xfilename)); fclose($fpx); $xfileinhalt = str_replace("#id#", $id2, $xfileinhalt); $xfileinhalt = str_replace("#idfragezeichen#", $id3, $xfileinhalt); $xfileinhalt = str_replace("#endung#", $endung, $xfileinhalt); echo $xfileinhalt; } $xfilename="xdatenvp/xunten.html"; $fpx=fopen($xfilename,'r'); $xfileinhalt = fread($fpx, filesize($xfilename)); fclose($fpx); $xfileinhalt = str_replace("#id#", $id2, $xfileinhalt); $xfileinhalt = str_replace("#idfragezeichen#", $id3, $xfileinhalt); $xfileinhalt = str_replace("#endung#", $endung, $xfileinhalt); echo $xfileinhalt; #echo $xfilename; ?>