Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
lab4_code [2009-10-06 12:05]
Joakim Forsgren
lab4_code [2022-07-18 13:20] (current)
Line 1: Line 1:
 ====== Kod till Lab4 ====== ====== Kod till Lab4 ======
-Ett exempel på hur man skulle kunna göra lab 4+Ett exempel på hur man skulle kunna göra lab 4, viktigt att ni fattar vad ni gör.
  
 +Minst 3 olika filer, en som sköter inloggning och en som sköter utloggning och den 3:e som är själva sidan. 
 +
 +=== Inloggning (do_login.php) ===
 +<php>
 +highlight_file('../../code/do_login.php');
 +</php>
 +
 +=== Utloggning (do_logout.php) ===
 +<php>
 +highlight_file('../../code/do_logout.php');
 +</php>
 +
 +=== Själva sidan (lab4.php) ===
 <php> <php>
 highlight_file('../../code/lab4.php'); highlight_file('../../code/lab4.php');
 </php> </php>