Webbserverprogrammering 1

Källkod

Följande filer och mappar finns under mappen webbserverprogrammering.
Mappar visas till vänster och filer till höger. Klicka på en fil eller mapp för att öppna nedan eller visa dess innehåll.

webbserverprogrammering/exercises/strings/

11 filer

strings_1.php
strings_1_formreceive.php
strings_2.php
strings_2_formreceive.php
strings_3.php
strings_3_formreceive.php
strings_4.php
strings_4_formreceive.php
strings_5.php
strings_5_formreceive.php
strings_6.php

strings_5.php

25 lines UTF-8 Windows (CRLF)
<?php
error_reporting
(-1); // Report all type of errors
ini_set('display_errors'1); // Display all errors 
ini_set('output_buffering'0); // Do not buffer outputs, write directly
?>

<!DOCTYPE html>
<html lang="sv">
<head>
 <title>Texsträngar 5</title>
 <meta charset="utf-8">
 <style type="text/css">
  body {
   font-family: Arial;
  }
 </style>
</head>
<body>
 <form method="post" action="strings_5_formreceive.php">
  <input type="text" name="username" placeholder="Användarnamn"><br>
  <input type="password" name="password" placeholder="Lösenord"><br>
  <input type="submit" name="submitted">
 </form>
</body>
</html>