From 8df3db566a3a937b45ebf11adb90d265e6f5e2d4 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 17 Nov 2019 20:45:02 +0100 Subject: initial checking of customized version 1.0rc9 --- vendor/adodb/adodb-php/pear/auth_adodb_example.php | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 vendor/adodb/adodb-php/pear/auth_adodb_example.php (limited to 'vendor/adodb/adodb-php/pear/auth_adodb_example.php') diff --git a/vendor/adodb/adodb-php/pear/auth_adodb_example.php b/vendor/adodb/adodb-php/pear/auth_adodb_example.php new file mode 100644 index 0000000..3b7cf5e --- /dev/null +++ b/vendor/adodb/adodb-php/pear/auth_adodb_example.php @@ -0,0 +1,25 @@ + +
+ + + +
+ $dsn, 'table' => 'auth', 'cryptType' => 'none', + 'usernamecol' => 'username', 'passwordcol' => 'password'); +$a = new Auth("ADOdb", $params, "loginFunction"); +$a->start(); + +if ($a->getAuth()) { + echo "Success"; + // * The output of your site goes here. +} -- cgit v1.2.3-54-g00ecf