name of the storage driver that should be used
the options that are passed to the storage container
the name of a user-defined function that prints the login screen
defines if the login is optional or not
Example 15-1. Using different DB parameters
|
This example shows you, how you can specifiy alternative names for the database table and the column names. In our example, we use the table myAuth, select the username from the field myUserColumn and the password from the field myPasswordColumn. The default values for this fields are auth, username and password.
This feature is necessary if you want to use PEAR::Auth with a database layout that is different from the one, PEAR::Auth uses by default.