Codice PHP:
<?php
$cartella = $_POST["cartella"];
$pagina = $_POST["pagina"];
$titolo = $_POST["titolo"];
$stile = $_POST["stile"];
$titolo1 = $_POST["titolo1"];
$file = "" . $_POST['cartella'] . "/" . $_POST['pagina'] . ".html";
$codice = "
<html>
<head>
<title>" . $titolo . "</title><link href="\" . $stile . "\" rel="stylesheet" type="text/css"></head>
<boby>
<h1>" . $_POST['titolo1'] . "</h1>
</body>
</html>
";
$fo = fopen($file, "w");
fwrite($fo, $codice);
fclose($fo);
?>
Mi da: Parse error: syntax error, unexpected T_STRING in /membri/greenbowsoftware/CMS-BETA/add/index.php on line 11