|
|
|
サンプルサイト
認証成功例(password12345データベース上有り)
http://sample.connectnote.net/wp-app/pdo_testmysql.php?passwd=12345
http://sample.connectnote.net/wp-app/pdo_testmysql.php?passwd=12345&id=admin
表示
Zend_Auth_Result Object ( [_code:protected] => 1 [_identity:protected] => admin [_messages:protected] => Array ( [0] => Authentication successful. ) ) アカウント:1 ok認証成功
認証失敗例(password12345データベース上無し)
http://sample.connectnote.net/wp-app/pdo_testmysql.php?passwd=12346
http://sample.connectnote.net/wp-app/pdo_testmysql.php?passwd=12345&id=admin2
表示
Zend_Auth_Result Object ( [_code:protected] => -3 [_identity:protected] => admin [_messages:protected] => Array ( [0] => Supplied credential is invalid. ) ) アカウント:-3 none認証失敗
Postgrsqlの例
http://sample.connectnote.net/wp-app/pdo_testpgsql2.php?passwd=12345&id=admin
http://sample.connectnote.net/wp-app/pdo_testpgsql.php?passwd=12345
|
|
|