diff options
| author | Damien Regad <dregad@mantisbt.org> | 2021-08-17 00:48:04 +0200 |
|---|---|---|
| committer | Damien Regad <dregad@mantisbt.org> | 2021-08-17 00:48:04 +0200 |
| commit | d558d101c514beeb8c91f65ae61d106b201dc472 (patch) | |
| tree | 2ee0a5a7cdca818ed384938b2e5e477f9d55f98d /session | |
| parent | eea4fc59246a14083e07949e4d54ac806ebbacce (diff) | |
| download | adodb-d558d101c514beeb8c91f65ae61d106b201dc472.tar.gz adodb-d558d101c514beeb8c91f65ae61d106b201dc472.tar.bz2 adodb-d558d101c514beeb8c91f65ae61d106b201dc472.zip | |
Redo Merge branch 'hotfix/5.21' Standardized file headers
Try to do it right this time...
# Conflicts:
# adodb-memcache.lib.inc.php
Fixes #751
Diffstat (limited to 'session')
| -rw-r--r-- | session/adodb-compress-bzip2.php | 36 | ||||
| -rw-r--r-- | session/adodb-compress-gzip.php | 32 | ||||
| -rw-r--r-- | session/adodb-cryptsession.php | 39 | ||||
| -rw-r--r-- | session/adodb-cryptsession2.php | 39 | ||||
| -rw-r--r-- | session/adodb-encrypt-mcrypt.php | 32 | ||||
| -rw-r--r-- | session/adodb-encrypt-md5.php | 31 | ||||
| -rw-r--r-- | session/adodb-encrypt-secret.php | 39 | ||||
| -rw-r--r-- | session/adodb-encrypt-sha1.php | 24 | ||||
| -rw-r--r-- | session/adodb-session-clob.php | 39 | ||||
| -rw-r--r-- | session/adodb-session-clob2.php | 40 | ||||
| -rw-r--r-- | session/adodb-session.php | 32 | ||||
| -rw-r--r-- | session/adodb-session2.php | 76 | ||||
| -rw-r--r-- | session/crypt.inc.php | 22 | ||||
| -rw-r--r-- | session/old/adodb-cryptsession.php | 41 | ||||
| -rw-r--r-- | session/old/adodb-session-clob.php | 38 | ||||
| -rw-r--r-- | session/old/adodb-session.php | 39 | ||||
| -rw-r--r-- | session/old/crypt.inc.php | 24 |
17 files changed, 358 insertions, 265 deletions
diff --git a/session/adodb-compress-bzip2.php b/session/adodb-compress-bzip2.php index 33c17c72..17ad99fb 100644 --- a/session/adodb-compress-bzip2.php +++ b/session/adodb-compress-bzip2.php @@ -1,24 +1,32 @@ <?php - -/* -@version v5.21.1-dev Unreleased -@copyright (c) 2000-2013 John Lim (jlim#natsoft.com). All rights reserved. -@copyright (c) 2014 Damien Regad, Mark Newnham and the ADOdb community - Contributed by Ross Smith (adodb@netebb.com). - Released under both BSD license and Lesser GPL library license. - Whenever there is any discrepancy between the two licenses, - the BSD license will take precedence. - Set tabs to 4 for best viewing. - -*/ +/** + * ADOdb Session Management + * + * This file is part of ADOdb, a Database Abstraction Layer library for PHP. + * + * @package ADOdb + * @link https://adodb.org Project's web site and documentation + * @link https://github.com/ADOdb/ADOdb Source code and issue tracker + * + * The ADOdb Library is dual-licensed, released under both the BSD 3-Clause + * and the GNU Lesser General Public Licence (LGPL) v2.1 or, at your option, + * any later version. This means you can use it in proprietary products. + * See the LICENSE.md file distributed with this source code for details. + * @license BSD-3-Clause + * @license LGPL-2.1-or-later + * + * @copyright 2000-2013 John Lim + * @copyright 2014 Damien Regad, Mark Newnham and the ADOdb community + * @author Ross Smith <adodb@netebb.com> + */ if (!function_exists('bzcompress')) { trigger_error('bzip2 functions are not available', E_USER_ERROR); return 0; } -/* -*/ +/** + */ class ADODB_Compress_Bzip2 { /** */ diff --git a/session/adodb-compress-gzip.php b/session/adodb-compress-gzip.php index 008d250f..bbaf6c63 100644 --- a/session/adodb-compress-gzip.php +++ b/session/adodb-compress-gzip.php @@ -1,17 +1,23 @@ <?php - - -/* -@version v5.21.1-dev Unreleased -@copyright (c) 2000-2013 John Lim (jlim#natsoft.com). All rights reserved. -@copyright (c) 2014 Damien Regad, Mark Newnham and the ADOdb community - Contributed by Ross Smith (adodb@netebb.com). - Released under both BSD license and Lesser GPL library license. - Whenever there is any discrepancy between the two licenses, - the BSD license will take precedence. - Set tabs to 4 for best viewing. - -*/ +/** + * ADOdb Session Management + * + * This file is part of ADOdb, a Database Abstraction Layer library for PHP. + * + * @package ADOdb + * @link https://adodb.org Project's web site and documentation + * @link https://github.com/ADOdb/ADOdb Source code and issue tracker + * + * The ADOdb Library is dual-licensed, released under both the BSD 3-Clause + * and the GNU Lesser General Public Licence (LGPL) v2.1 or, at your option, + * any later version. This means you can use it in proprietary products. + * See the LICENSE.md file distributed with this source code for details. + * @license BSD-3-Clause + * @license LGPL-2.1-or-later + * + * @copyright 2000-2013 John Lim + * @copyright 2014 Damien Regad, Mark Newnham and the ADOdb community + */ if (!function_exists('gzcompress')) { trigger_error('gzip functions are not available', E_USER_ERROR); diff --git a/session/adodb-cryptsession.php b/session/adodb-cryptsession.php index 36995225..08805321 100644 --- a/session/adodb-cryptsession.php +++ b/session/adodb-cryptsession.php @@ -1,22 +1,25 @@ <?php - - -/* -@version v5.21.1-dev Unreleased -@copyright (c) 2000-2013 John Lim (jlim#natsoft.com). All rights reserved. -@copyright (c) 2014 Damien Regad, Mark Newnham and the ADOdb community - Contributed by Ross Smith (adodb@netebb.com). - Released under both BSD license and Lesser GPL library license. - Whenever there is any discrepancy between the two licenses, - the BSD license will take precedence. - Set tabs to 4 for best viewing. -*/ - -/* - -This file is provided for backwards compatibility purposes - -*/ +/** + * ADOdb Session Management + * + * @deprecated This file is provided for backwards compatibility purposes + * + * This file is part of ADOdb, a Database Abstraction Layer library for PHP. + * + * @package ADOdb + * @link https://adodb.org Project's web site and documentation + * @link https://github.com/ADOdb/ADOdb Source code and issue tracker + * + * The ADOdb Library is dual-licensed, released under both the BSD 3-Clause + * and the GNU Lesser General Public Licence (LGPL) v2.1 or, at your option, + * any later version. This means you can use it in proprietary products. + * See the LICENSE.md file distributed with this source code for details. + * @license BSD-3-Clause + * @license LGPL-2.1-or-later + * + * @copyright 2000-2013 John Lim + * @copyright 2014 Damien Regad, Mark Newnham and the ADOdb community + */ if (!defined('ADODB_SESSION')) { require_once dirname(__FILE__) . '/adodb-session.php'; diff --git a/session/adodb-cryptsession2.php b/session/adodb-cryptsession2.php index 2bbfe3a9..f3e95a13 100644 --- a/session/adodb-cryptsession2.php +++ b/session/adodb-cryptsession2.php @@ -1,22 +1,25 @@ <?php - - -/* -@version v5.21.1-dev Unreleased -@copyright (c) 2000-2013 John Lim (jlim#natsoft.com). All rights reserved. -@copyright (c) 2014 Damien Regad, Mark Newnham and the ADOdb community - Contributed by Ross Smith (adodb@netebb.com). - Released under both BSD license and Lesser GPL library license. - Whenever there is any discrepancy between the two licenses, - the BSD license will take precedence. - Set tabs to 4 for best viewing. -*/ - -/* - -This file is provided for backwards compatibility purposes - -*/ +/** + * ADOdb Session Management + * + * @deprecated This file is provided for backwards compatibility purposes + * + * This file is part of ADOdb, a Database Abstraction Layer library for PHP. + * + * @package ADOdb + * @link https://adodb.org Project's web site and documentation + * @link https://github.com/ADOdb/ADOdb Source code and issue tracker + * + * The ADOdb Library is dual-licensed, released under both the BSD 3-Clause + * and the GNU Lesser General Public Licence (LGPL) v2.1 or, at your option, + * any later version. This means you can use it in proprietary products. + * See the LICENSE.md file distributed with this source code for details. + * @license BSD-3-Clause + * @license LGPL-2.1-or-later + * + * @copyright 2000-2013 John Lim + * @copyright 2014 Damien Regad, Mark Newnham and the ADOdb community + */ if (!defined('ADODB_SESSION')) { require_once dirname(__FILE__) . '/adodb-session2.php'; diff --git a/session/adodb-encrypt-mcrypt.php b/session/adodb-encrypt-mcrypt.php index bd68b8bb..bec9ff2c 100644 --- a/session/adodb-encrypt-mcrypt.php +++ b/session/adodb-encrypt-mcrypt.php @@ -1,17 +1,23 @@ <?php - - -/* -@version v5.21.1-dev Unreleased -@copyright (c) 2000-2013 John Lim (jlim#natsoft.com). All rights reserved. -@copyright (c) 2014 Damien Regad, Mark Newnham and the ADOdb community - Contributed by Ross Smith (adodb@netebb.com). - Released under both BSD license and Lesser GPL library license. - Whenever there is any discrepancy between the two licenses, - the BSD license will take precedence. - Set tabs to 4 for best viewing. - -*/ +/** + * ADOdb Session Management + * + * This file is part of ADOdb, a Database Abstraction Layer library for PHP. + * + * @package ADOdb + * @link https://adodb.org Project's web site and documentation + * @link https://github.com/ADOdb/ADOdb Source code and issue tracker + * + * The ADOdb Library is dual-licensed, released under both the BSD 3-Clause + * and the GNU Lesser General Public Licence (LGPL) v2.1 or, at your option, + * any later version. This means you can use it in proprietary products. + * See the LICENSE.md file distributed with this source code for details. + * @license BSD-3-Clause + * @license LGPL-2.1-or-later + * + * @copyright 2000-2013 John Lim + * @copyright 2014 Damien Regad, Mark Newnham and the ADOdb community + */ if (!function_exists('mcrypt_encrypt')) { trigger_error('Mcrypt functions are not available', E_USER_ERROR); diff --git a/session/adodb-encrypt-md5.php b/session/adodb-encrypt-md5.php index 36fcc74c..7ae9b56e 100644 --- a/session/adodb-encrypt-md5.php +++ b/session/adodb-encrypt-md5.php @@ -1,16 +1,23 @@ <?php - -/* -@version v5.21.1-dev Unreleased -@copyright (c) 2000-2013 John Lim (jlim#natsoft.com). All rights reserved. -@copyright (c) 2014 Damien Regad, Mark Newnham and the ADOdb community - Contributed by Ross Smith (adodb@netebb.com). - Released under both BSD license and Lesser GPL library license. - Whenever there is any discrepancy between the two licenses, - the BSD license will take precedence. - Set tabs to 4 for best viewing. - -*/ +/** + * ADOdb Session Management + * + * This file is part of ADOdb, a Database Abstraction Layer library for PHP. + * + * @package ADOdb + * @link https://adodb.org Project's web site and documentation + * @link https://github.com/ADOdb/ADOdb Source code and issue tracker + * + * The ADOdb Library is dual-licensed, released under both the BSD 3-Clause + * and the GNU Lesser General Public Licence (LGPL) v2.1 or, at your option, + * any later version. This means you can use it in proprietary products. + * See the LICENSE.md file distributed with this source code for details. + * @license BSD-3-Clause + * @license LGPL-2.1-or-later + * + * @copyright 2000-2013 John Lim + * @copyright 2014 Damien Regad, Mark Newnham and the ADOdb community + */ // security - hide paths if (!defined('ADODB_SESSION')) die(); diff --git a/session/adodb-encrypt-secret.php b/session/adodb-encrypt-secret.php index 765c8c61..2c29f7a0 100644 --- a/session/adodb-encrypt-secret.php +++ b/session/adodb-encrypt-secret.php @@ -1,16 +1,23 @@ <?php - -/* -@version v5.21.1-dev Unreleased -@copyright (c) 2000-2013 John Lim (jlim#natsoft.com). All rights reserved. -@copyright (c) 2014 Damien Regad, Mark Newnham and the ADOdb community - Contributed by Ross Smith (adodb@netebb.com). - Released under both BSD license and Lesser GPL library license. - Whenever there is any discrepancy between the two licenses, - the BSD license will take precedence. - Set tabs to 4 for best viewing. - -*/ +/** + * ADOdb Session Management + * + * This file is part of ADOdb, a Database Abstraction Layer library for PHP. + * + * @package ADOdb + * @link https://adodb.org Project's web site and documentation + * @link https://github.com/ADOdb/ADOdb Source code and issue tracker + * + * The ADOdb Library is dual-licensed, released under both the BSD 3-Clause + * and the GNU Lesser General Public Licence (LGPL) v2.1 or, at your option, + * any later version. This means you can use it in proprietary products. + * See the LICENSE.md file distributed with this source code for details. + * @license BSD-3-Clause + * @license LGPL-2.1-or-later + * + * @copyright 2000-2013 John Lim + * @copyright 2014 Damien Regad, Mark Newnham and the ADOdb community + */ @define('HORDE_BASE', dirname(dirname(dirname(__FILE__))) . '/horde'); @@ -22,14 +29,6 @@ if (!is_dir(HORDE_BASE)) { include_once HORDE_BASE . '/lib/Horde.php'; include_once HORDE_BASE . '/lib/Secret.php'; -/** - -NOTE: On Windows 2000 SP4 with PHP 4.3.1, MCrypt 2.4.x, and Apache 1.3.28, -the session didn't work properly. - -This may be resolved with 4.3.3. - - */ class ADODB_Encrypt_Secret { /** */ diff --git a/session/adodb-encrypt-sha1.php b/session/adodb-encrypt-sha1.php index 70655153..0aa38c83 100644 --- a/session/adodb-encrypt-sha1.php +++ b/session/adodb-encrypt-sha1.php @@ -1,13 +1,27 @@ <?php +/** + * ADOdb Session Management + * + * This file is part of ADOdb, a Database Abstraction Layer library for PHP. + * + * @package ADOdb + * @link https://adodb.org Project's web site and documentation + * @link https://github.com/ADOdb/ADOdb Source code and issue tracker + * + * The ADOdb Library is dual-licensed, released under both the BSD 3-Clause + * and the GNU Lesser General Public Licence (LGPL) v2.1 or, at your option, + * any later version. This means you can use it in proprietary products. + * See the LICENSE.md file distributed with this source code for details. + * @license BSD-3-Clause + * @license LGPL-2.1-or-later + * + * @copyright 2000-2013 John Lim + * @copyright 2014 Damien Regad, Mark Newnham and the ADOdb community + */ if (!defined('ADODB_SESSION')) die(); include_once ADODB_SESSION . '/crypt.inc.php'; - -/** - - */ - class ADODB_Encrypt_SHA1 { function write($data, $key) diff --git a/session/adodb-session-clob.php b/session/adodb-session-clob.php index 12f9a5db..8c5e9fb3 100644 --- a/session/adodb-session-clob.php +++ b/session/adodb-session-clob.php @@ -1,22 +1,25 @@ <?php - - -/* -@version v5.21.1-dev Unreleased -@copyright (c) 2000-2013 John Lim (jlim#natsoft.com). All rights reserved. -@copyright (c) 2014 Damien Regad, Mark Newnham and the ADOdb community - Contributed by Ross Smith (adodb@netebb.com). - Released under both BSD license and Lesser GPL library license. - Whenever there is any discrepancy between the two licenses, - the BSD license will take precedence. - Set tabs to 4 for best viewing. -*/ - -/* - -This file is provided for backwards compatibility purposes - -*/ +/** + * ADOdb Session Management + * + * @deprecated This file is provided for backwards compatibility purposes + * + * This file is part of ADOdb, a Database Abstraction Layer library for PHP. + * + * @package ADOdb + * @link https://adodb.org Project's web site and documentation + * @link https://github.com/ADOdb/ADOdb Source code and issue tracker + * + * The ADOdb Library is dual-licensed, released under both the BSD 3-Clause + * and the GNU Lesser General Public Licence (LGPL) v2.1 or, at your option, + * any later version. This means you can use it in proprietary products. + * See the LICENSE.md file distributed with this source code for details. + * @license BSD-3-Clause + * @license LGPL-2.1-or-later + * + * @copyright 2000-2013 John Lim + * @copyright 2014 Damien Regad, Mark Newnham and the ADOdb community + */ if (!defined('ADODB_SESSION')) { require_once dirname(__FILE__) . '/adodb-session.php'; diff --git a/session/adodb-session-clob2.php b/session/adodb-session-clob2.php index a2c9feaf..babfa420 100644 --- a/session/adodb-session-clob2.php +++ b/session/adodb-session-clob2.php @@ -1,22 +1,26 @@ <?php - - -/* -@version v5.21.1-dev Unreleased -@copyright (c) 2000-2013 John Lim (jlim#natsoft.com). All rights reserved. -@copyright (c) 2014 Damien Regad, Mark Newnham and the ADOdb community - Contributed by Ross Smith (adodb@netebb.com). - Released under both BSD license and Lesser GPL library license. - Whenever there is any discrepancy between the two licenses, - the BSD license will take precedence. - Set tabs to 4 for best viewing. -*/ - -/* - -This file is provided for backwards compatibility purposes - -*/ +/** + * ADOdb Session Management + * + * @deprecated This file is provided for backwards compatibility purposes + * + * This file is part of ADOdb, a Database Abstraction Layer library for PHP. + * + * @package ADOdb + * @link https://adodb.org Project's web site and documentation + * @link https://github.com/ADOdb/ADOdb Source code and issue tracker + * + * The ADOdb Library is dual-licensed, released under both the BSD 3-Clause + * and the GNU Lesser General Public Licence (LGPL) v2.1 or, at your option, + * any later version. This means you can use it in proprietary products. + * See the LICENSE.md file distributed with this source code for details. + * @license BSD-3-Clause + * @license LGPL-2.1-or-later + * + * @copyright 2000-2013 John Lim + * @copyright 2014 Damien Regad, Mark Newnham and the ADOdb community + * @author Ross Smith <adodb@netebb.com> + */ if (!defined('ADODB_SESSION')) { require_once dirname(__FILE__) . '/adodb-session2.php'; diff --git a/session/adodb-session.php b/session/adodb-session.php index bd8251be..9e716232 100644 --- a/session/adodb-session.php +++ b/session/adodb-session.php @@ -1,16 +1,24 @@ <?php - - -/* -@version v5.21.1-dev Unreleased -@copyright (c) 2000-2013 John Lim (jlim#natsoft.com). All rights reserved. -@copyright (c) 2014 Damien Regad, Mark Newnham and the ADOdb community - Contributed by Ross Smith (adodb@netebb.com). - Released under both BSD license and Lesser GPL library license. - Whenever there is any discrepancy between the two licenses, - the BSD license will take precedence. - Set tabs to 4 for best viewing. -*/ +/** + * ADOdb Session Management + * + * This file is part of ADOdb, a Database Abstraction Layer library for PHP. + * + * @package ADOdb + * @link https://adodb.org Project's web site and documentation + * @link https://github.com/ADOdb/ADOdb Source code and issue tracker + * + * The ADOdb Library is dual-licensed, released under both the BSD 3-Clause + * and the GNU Lesser General Public Licence (LGPL) v2.1 or, at your option, + * any later version. This means you can use it in proprietary products. + * See the LICENSE.md file distributed with this source code for details. + * @license BSD-3-Clause + * @license LGPL-2.1-or-later + * + * @copyright 2000-2013 John Lim + * @copyright 2014 Damien Regad, Mark Newnham and the ADOdb community + * @author Ross Smith <adodb@netebb.com> + */ /* You may want to rename the 'data' field to 'session_data' as diff --git a/session/adodb-session2.php b/session/adodb-session2.php index 837cb2e2..bf64b416 100644 --- a/session/adodb-session2.php +++ b/session/adodb-session2.php @@ -1,61 +1,23 @@ <?php - - -/* -@version v5.21.1-dev Unreleased -@copyright (c) 2000-2013 John Lim (jlim#natsoft.com). All rights reserved. -@copyright (c) 2014 Damien Regad, Mark Newnham and the ADOdb community - Contributed by Ross Smith (adodb@netebb.com). - Released under both BSD license and Lesser GPL library license. - Whenever there is any discrepancy between the two licenses, - the BSD license will take precedence. - Set tabs to 4 for best viewing. - - -*/ - -/* - -CREATE Table SCripts - -Oracle -====== - -CREATE TABLE SESSIONS2 -( - SESSKEY VARCHAR2(48 BYTE) NOT NULL, - EXPIRY DATE NOT NULL, - EXPIREREF VARCHAR2(200 BYTE), - CREATED DATE NOT NULL, - MODIFIED DATE NOT NULL, - SESSDATA CLOB, - PRIMARY KEY(SESSKEY) -); - - -CREATE INDEX SESS2_EXPIRY ON SESSIONS2(EXPIRY); -CREATE UNIQUE INDEX SESS2_PK ON SESSIONS2(SESSKEY); -CREATE INDEX SESS2_EXP_REF ON SESSIONS2(EXPIREREF); - - - - MySQL - ===== - -CREATE TABLE sessions2( - sesskey VARCHAR( 64 ) NOT NULL DEFAULT '', - expiry TIMESTAMP NOT NULL , - expireref VARCHAR( 250 ) DEFAULT '', - created TIMESTAMP NOT NULL , - modified TIMESTAMP NOT NULL , - sessdata LONGTEXT DEFAULT '', - PRIMARY KEY ( sesskey ) , - INDEX sess2_expiry( expiry ), - INDEX sess2_expireref( expireref ) -) - - -*/ +/** + * ADOdb Session Management + * + * This file is part of ADOdb, a Database Abstraction Layer library for PHP. + * + * @package ADOdb + * @link https://adodb.org Project's web site and documentation + * @link https://github.com/ADOdb/ADOdb Source code and issue tracker + * + * The ADOdb Library is dual-licensed, released under both the BSD 3-Clause + * and the GNU Lesser General Public Licence (LGPL) v2.1 or, at your option, + * any later version. This means you can use it in proprietary products. + * See the LICENSE.md file distributed with this source code for details. + * @license BSD-3-Clause + * @license LGPL-2.1-or-later + * + * @copyright 2000-2013 John Lim + * @copyright 2014 Damien Regad, Mark Newnham and the ADOdb community + */ if (!defined('_ADODB_LAYER')) { require realpath(dirname(__FILE__) . '/../adodb.inc.php'); diff --git a/session/crypt.inc.php b/session/crypt.inc.php index 94aa2831..82121e39 100644 --- a/session/crypt.inc.php +++ b/session/crypt.inc.php @@ -1,5 +1,25 @@ <?php -// Session Encryption by Ari Kuorikoski <ari.kuorikoski@finebyte.com> +/** + * ADOdb Session Management + * + * This file is part of ADOdb, a Database Abstraction Layer library for PHP. + * + * @package ADOdb + * @link https://adodb.org Project's web site and documentation + * @link https://github.com/ADOdb/ADOdb Source code and issue tracker + * + * The ADOdb Library is dual-licensed, released under both the BSD 3-Clause + * and the GNU Lesser General Public Licence (LGPL) v2.1 or, at your option, + * any later version. This means you can use it in proprietary products. + * See the LICENSE.md file distributed with this source code for details. + * @license BSD-3-Clause + * @license LGPL-2.1-or-later + * + * @copyright 2000-2013 John Lim + * @copyright 2014 Damien Regad, Mark Newnham and the ADOdb community + * @author Ari Kuorikoski <ari.kuorikoski@finebyte.com> + */ + class MD5Crypt{ function keyED($txt,$encrypt_key) { diff --git a/session/old/adodb-cryptsession.php b/session/old/adodb-cryptsession.php index 70b99c49..6616de3d 100644 --- a/session/old/adodb-cryptsession.php +++ b/session/old/adodb-cryptsession.php @@ -1,22 +1,29 @@ <?php +/** + * ADOdb Session Management + * + * This file provides PHP4 session management using the ADODB database + * wrapper library. + * + * @deprecated + * + * This file is part of ADOdb, a Database Abstraction Layer library for PHP. + * + * @package ADOdb + * @link https://adodb.org Project's web site and documentation + * @link https://github.com/ADOdb/ADOdb Source code and issue tracker + * + * The ADOdb Library is dual-licensed, released under both the BSD 3-Clause + * and the GNU Lesser General Public Licence (LGPL) v2.1 or, at your option, + * any later version. This means you can use it in proprietary products. + * See the LICENSE.md file distributed with this source code for details. + * @license BSD-3-Clause + * @license LGPL-2.1-or-later + * + * @copyright 2000-2013 John Lim + * @copyright 2014 Damien Regad, Mark Newnham and the ADOdb community + */ /* -@version v5.21.1-dev Unreleased -@copyright (c) 2000-2013 John Lim (jlim#natsoft.com). All rights reserved. -@copyright (c) 2014 Damien Regad, Mark Newnham and the ADOdb community - Released under both BSD license and Lesser GPL library license. - Whenever there is any discrepancy between the two licenses, - the BSD license will take precedence. - Made table name configurable - by David Johnson djohnson@inpro.net - Encryption by Ari Kuorikoski <ari.kuorikoski@finebyte.com> - - Set tabs to 4 for best viewing. - - Latest version is available at https://adodb.org/ - ====================================================================== - - This file provides PHP4 session management using the ADODB database -wrapper library. - Example ======= diff --git a/session/old/adodb-session-clob.php b/session/old/adodb-session-clob.php index 03359ef3..864fdfd7 100644 --- a/session/old/adodb-session-clob.php +++ b/session/old/adodb-session-clob.php @@ -1,19 +1,29 @@ <?php +/** + * ADOdb Session Management + * + * This file provides PHP4 session management using the ADODB database + * wrapper library. + * + * @deprecated + * + * This file is part of ADOdb, a Database Abstraction Layer library for PHP. + * + * @package ADOdb + * @link https://adodb.org Project's web site and documentation + * @link https://github.com/ADOdb/ADOdb Source code and issue tracker + * + * The ADOdb Library is dual-licensed, released under both the BSD 3-Clause + * and the GNU Lesser General Public Licence (LGPL) v2.1 or, at your option, + * any later version. This means you can use it in proprietary products. + * See the LICENSE.md file distributed with this source code for details. + * @license BSD-3-Clause + * @license LGPL-2.1-or-later + * + * @copyright 2000-2013 John Lim + * @copyright 2014 Damien Regad, Mark Newnham and the ADOdb community + */ /* - @version v5.21.1-dev Unreleased - @copyright (c) 2000-2013 John Lim (jlim#natsoft.com). All rights reserved. - @copyright (c) 2014 Damien Regad, Mark Newnham and the ADOdb community - Released under both BSD license and Lesser GPL library license. - Whenever there is any discrepancy between the two licenses, - the BSD license will take precedence. - Set tabs to 4 for best viewing. - - Latest version is available at https://adodb.org/ - ====================================================================== - - This file provides PHP4 session management using the ADODB database - wrapper library, using Oracle CLOB's to store data. Contributed by achim.gosse@ddd.de. - Example ======= diff --git a/session/old/adodb-session.php b/session/old/adodb-session.php index f90a5066..5fd43abc 100644 --- a/session/old/adodb-session.php +++ b/session/old/adodb-session.php @@ -1,19 +1,30 @@ <?php -/* -@version v5.21.1-dev Unreleased -@copyright (c) 2000-2013 John Lim (jlim#natsoft.com). All rights reserved. -@copyright (c) 2014 Damien Regad, Mark Newnham and the ADOdb community - Released under both BSD license and Lesser GPL library license. - Whenever there is any discrepancy between the two licenses, - the BSD license will take precedence. - Set tabs to 4 for best viewing. - - Latest version is available at https://adodb.org/ - ====================================================================== - - This file provides PHP4 session management using the ADODB database -wrapper library. +/** + * ADOdb Session Management + * + * This file provides PHP4 session management using the ADODB database + * wrapper library. + * + * @deprecated + * + * This file is part of ADOdb, a Database Abstraction Layer library for PHP. + * + * @package ADOdb + * @link https://adodb.org Project's web site and documentation + * @link https://github.com/ADOdb/ADOdb Source code and issue tracker + * + * The ADOdb Library is dual-licensed, released under both the BSD 3-Clause + * and the GNU Lesser General Public Licence (LGPL) v2.1 or, at your option, + * any later version. This means you can use it in proprietary products. + * See the LICENSE.md file distributed with this source code for details. + * @license BSD-3-Clause + * @license LGPL-2.1-or-later + * + * @copyright 2000-2013 John Lim + * @copyright 2014 Damien Regad, Mark Newnham and the ADOdb community + */ +/* Example ======= diff --git a/session/old/crypt.inc.php b/session/old/crypt.inc.php index 1ce75feb..089e24a0 100644 --- a/session/old/crypt.inc.php +++ b/session/old/crypt.inc.php @@ -1,5 +1,27 @@ <?php -// Session Encryption by Ari Kuorikoski <ari.kuorikoski@finebyte.com> +/** + * ADOdb Session Management + * + * @deprecated + * + * This file is part of ADOdb, a Database Abstraction Layer library for PHP. + * + * @package ADOdb + * @link https://adodb.org Project's web site and documentation + * @link https://github.com/ADOdb/ADOdb Source code and issue tracker + * + * The ADOdb Library is dual-licensed, released under both the BSD 3-Clause + * and the GNU Lesser General Public Licence (LGPL) v2.1 or, at your option, + * any later version. This means you can use it in proprietary products. + * See the LICENSE.md file distributed with this source code for details. + * @license BSD-3-Clause + * @license LGPL-2.1-or-later + * + * @copyright 2000-2013 John Lim + * @copyright 2014 Damien Regad, Mark Newnham and the ADOdb community + * @author Ari Kuorikoski <ari.kuorikoski@finebyte.com> + */ + class MD5Crypt{ function keyED($txt,$encrypt_key) { |
