Pear
■ このスレッドは過去ログ倉庫に格納されています
0217nobodyさん
03/07/29 21:12ID:???こんな感じでいけませんか?
DB:
$dbh = &DB::connect(...);
$auth_options = array(
'dsn' => $dbh,
'table' => ...,
'cryptType' => ...
);
$auth = new Auth('DB', $auth_options, 'showLoginForm', true);
$auth->setSessionname(...);
$auth->start();
MDB:
$dbh = &MDB::singleton(..., ...);
$dbh->setDatabase(...);
$auth_options = array(
'dsn' => $dbh,
'table' => ...,
'cryptType' => ...
);
$auth = new Auth('MDB', $auth_options, 'showLoginForm', true);
$auth->setSessionname(...);
$auth->start();
■ このスレッドは過去ログ倉庫に格納されています