Differences

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

Link to this comparison view

lab4_code [2017-09-01 14:54]
lab4_code [2022-07-18 13:20] (current)
Line 1: Line 1:
 +====== Kod till Lab4 ======
 +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>
 +highlight_file('../../code/lab4.php');
 +</php>