webserver-m0/www/public/index.php

22 lines
464 B
PHP
Raw Permalink 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:27:17 +00:00
<h1>Webbservern fungerar NY VERSION 3!</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:27:17 +00:00
$v = 3.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>