Auth_HTTP::Auth_HTTP()

Auth_HTTP::Auth_HTTP() – constructor

Synopsis

void Auth_HTTP::Auth_HTTP ( string $storageDriver = "DB" , mixed $options = "" )

Описание

Constructor for the authentication system

Parameter

string $storageDriver

name of the storage driver that should be used

mixed $options

a string containing some login information or an array containing a bunch of options for the storage driver

Замечание

This function can not be called statically.

Пример

Using different DB parameters

<?php
require_once "Auth/HTTP.php";

$a = new Auth_HTTP("DB""mysql://test:test@localhost/test");

$a->start();
?>
    Поддержать сайт на родительском проекте КГБ