?>
archivo.php
Código PHP:
<?php
$contents = "Inhalt";
$installation = "Installation und Betrieb";
$layout = "Art of Illusion Einführung";
$modelling = "Modelling";
$lights = "Lichter";
$textures_and_materials = "Texturen und Material";
$textures = "Texturen";
$materials = "Materialien";
$rendering = "Rendering";
$animation = "Animation";
$scripting = "Scripting";
$whatsnew = "Was ist neu";
?>
Código PHP:
$pagina=fopen("Library/main_".$listLang.".php", "a");
fwrite($pagina, '$newVar = '.$content);
fclose($pagina);