webserver-m0/www/public/index.php

22 lines
462 B
PHP
Raw Normal View History

2023-08-21 11:14:36 +00:00
<!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>
2023-08-21 11:22:24 +00:00
<h1>Webbservern fungerar NY VERSION!</h1>
2023-08-21 11:14:36 +00:00
<p><strong>Denna sida (index.php) skall bytas ut.</strong></p>
<?php
$date = date("Y-m-d");
2023-08-21 11:22:24 +00:00
$v = 2.0;
2023-08-21 11:14:36 +00:00
print "<p>Version $v</p>";
echo "<h2>Hej PHP dagens datum: $date</h2>";
?>
<h3>Efter PHP</h3>
</body>
</html>