Solutions
This commit is contained in:
@@ -1,12 +1,18 @@
|
||||
<?php
|
||||
$title = $_GET["title"];
|
||||
$author = $_GET["name"];
|
||||
$pageContent = "<!DOCTYPE html>
|
||||
<html lang='fr'>
|
||||
<head>
|
||||
<meta charset='UTF-8'>
|
||||
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
|
||||
<title>TITRE DU DOCUMENT A CHANGER</title>
|
||||
<title>$title - créée par $author</title>
|
||||
</head>
|
||||
<body>
|
||||
Bienvenue sur votre page personnelle
|
||||
</body>
|
||||
</html>";
|
||||
</html>";
|
||||
|
||||
$page = fopen($author."html" , "w");
|
||||
fwrite($page, $pageContent);
|
||||
fclose($page);
|
Reference in New Issue
Block a user