From 6854cb3f4d8219cf1829e32122eb2502a916eae9 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 1 Feb 2020 09:05:48 +0100 Subject: initial checkin --- 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-70-g09d2