Client items
At the entry point you get a simple login screen without any parameters asked. All the necessary parameters are defined in the "client.ini" configuration file.
After clicking the Login button you will get a screen with just two options:
The related actions and menues are described in the following.
My Reservations
In that menu you can query for the Reservations defined for the user, the identification is done by the username and the e-mail address of the user.
If the user does not give the reservation ID he/she can not change something in the reservation,
all the found entries in the table Reservation with that parameter pair are just listed.
To make changes to the reservation, the unique Reservation ID must be given. Than the parameters "Gast", "Telefon" and "e-mail" can be changed. Other changes are not possible by a client user.
Also the admin user can not change more, he/she can just delete that entry in the database. If other chnages (e.g. date and time) are necessary, a new entry has to be created and the old one has to be deleted by the admin user.
Create Reservations
You can setup two kinds of users, simple users that have access to the Reservation table only and local admin users, that have more rights and can e.g. delete some entries from the Reservation table.
Configuration File
There exists an config file for the client parameters called "client.ini". This must locate in the same directory as the PHP files for the client.
The file format is one parameter set per line. Between the parameter name, the "="-sign and the parameter-value can be white spaces.
The parameters are case-insensitive, but be aware that URL ARE case-sensitive.
The following parameter is actually defined:
- Hostname, possible values: a hostname for accessing the mysql db, normally this will always be "localhost"
- Username, the username of the Client. This name must be setup with the admin user tool. The user name generated there must match the entry in the this file here.
- Password, the password for the username as defined in the admin user tool
- Database, the database where the client will have access to. For each database you have to generate an own client path with all the necessary files.
Index Client Top
© 2000
Gerhard Vogt,
Gerhard.Vogt@bigfoot.de