| defines.php | Projektweit gültige Definitionen |
| authorization.php | Passwort-Authentifizierung |
| login.php | Anmeldeseite |
| makelogin.php | Account einrichten |
| password.php | Vergessene Passwörter ersetzen |
| randompasswd.php | Zufallspasswörter erzeugen |
| logout.php | Abmelden |
| account.php | Persönliche Daten verändern |
| index.php | Hauptseite mit dem Bestellformular |
| Fehler.php | Fehlerfunktion |
| index.html | Startseite mit Umleitung auf index.php |
Die nicht gezeigten Tabellen benutzer und gaestebuch
(letztere wird hier gar nicht gebraucht) finden Sie bei den
Dateien des Gästebuchs.
weiss/WK2004IK23> mysql -u test Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 226837 to server version: 4.0.18 Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> use test_login Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> show tables; +----------------------+ | Tables_in_test_login | +----------------------+ | benutzer | | bestellungen | | gaestebuch | | produkte | +----------------------+ 4 rows in set (0.00 sec) mysql> describe bestellungen; +-----------+------------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +-----------+------------------+------+-----+---------+----------------+ | id | int(10) unsigned | | PRI | NULL | auto_increment | | userid | int(10) unsigned | | | 0 | | | productid | int(10) unsigned | | | 0 | | | anzahl | int(10) unsigned | | | 0 | | +-----------+------------------+------+-----+---------+----------------+ 4 rows in set (0.00 sec) mysql> describe produkte; +-------+------------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +-------+------------------+------+-----+---------+----------------+ | id | int(10) unsigned | | PRI | NULL | auto_increment | | Name | tinytext | YES | | NULL | | +-------+------------------+------+-----+---------+----------------+ 2 rows in set (0.00 sec) mysql>