phpbar.de logo

Mailinglisten-Archive

[php] Pear :: Auth

[php] Pear :: Auth

Christoph Schönian cms at kafkamedia.de
Fre Aug 27 17:15:41 CEST 2004


Thorsten Dikmann schrieb:
> 
> $params = array(
>   "dsn" => "mysql://*******:*****@******/******",
>   "table" => "all_phpbb_users",
>   "usernamecol" => "username",
>   "passwordcol" => "user_password"
>   );
> 
>  $a = new Auth("DB", $params, "loginFunction");
>  
>  $a->start();
>  
>  if ($a->getAuth()) {
>   echo "JAJA";
>  }
>  else{
>   echo "NEIN!";
>  }
> 

Hi

Haste du es schon einmal damit probiert? ;-)

$options = array( 	
     "dsn" 	  => "mysql://***:***@localhost/***",
     "table"       => all_phpbb_users",
     "usernamecol" => "username",
     "passwordcol" => "user_password",
     "cryptType"   => "md5"
);

...

-- 
   regards,
   Christoph Schönian.

php::bar PHP Wiki   -   Listenarchive