Document Document Webbserv1: Källkod
Webbserverprogrammering 1

Show sourcecode

The following files exists in this folder. Click to view.

Webbserverprogrammering/exercises/

frågetest.php
include1.php
include2.php
include2sida2.php
include2sida3.php
index.php
ovn_form1.php
ovn_form2.php
ovn_form3.php
ramverk1.php
ramverk2.php
ramverk3.php
welcome1.php
welcome2.php
welcome3.php

index.php

26 lines UTF-8 Windows (CRLF)
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
<a href="frågetest.php" > Inlämningsuppgift<BR>"
<?php
$i 
0;
$grunder = array("1","2","3");
while (
$i count($grunder)){
  
$i += 1;
  echo 
"<A href=\"ovn_form$i.php\" > Övning Grund $i<BR>";
}
$i 0;
$include = array("1","2","3");
while (
$i count($include)){
  
$i += 1;
  echo 
"<A href=\"include$i.php\" > Övning Include $i<BR>";
}
?>
</body>
</html>