webserver-m0/www/public/index.php
2023-08-21 13:14:36 +02:00

22 lines
451 B
PHP

<!DOCTYPE html>
<html lang="sv">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>WSP-1</title>
</head>
<body>
<h1>Webbservern fungerar!</h1>
<p><strong>Denna sida (index.php) skall bytas ut.</strong></p>
<?php
$date = date("Y-m-d");
$v = 1.0;
print "<p>Version $v</p>";
echo "<h2>Hej PHP dagens datum: $date</h2>";
?>
<h3>Efter PHP</h3>
</body>
</html>