phplib-7.4-pre2
----------------------------------------------------------------------------
Some features and improvements include:
php4 session support ( prepend.php)
register_globals can be off for most classes
Template class has many improvements and bugfixes.
Note: prepend.php3 is the prepend version for using PHPLIB sessions. prepend.php and files ending in 4, e.g. auth4.inc, local4.inc, page4.inc and user4.inc, are meant for use with PHP4's builtin session functions.
THIS IS A PRE-RELEASE BETA! This is for testing only, this release may
eat your website or break everything! Please test it and report any
problems to the phplib-users list or to the SourceForge Bug trackers at
http://sf.net/projects/phplib/
----------------------------------------------------------------------------
---------------------------------------------------------------------------
Where to get phplib 7.4-pre2:
---------------------------------------------------------------------------
http://sourceforge.net/projects/phplib/
This release has been tagged as PHPLIB_7_4_PRE2
---------------------------------------------------------------------------
Other general info:
---------------------------------------------------------------------------
- Support can be found on phplib-users@lists.sourceforge.net
- File bugs at http://sourceforge.net/projects/phplib/
--------------------------------------------------------------------------------
Changes:
- session4.inc - changed foreach to while in freeze() for compatibility with
some php versions. changed source of return value in self_url for wider
http server compatibility.
- auth4.inc, page4.inc, local4.inc, prepend.php - Giancarlo's changes for
auth's persistent slots with Session4.
- added prepend.php and local4.inc to use php4 sessions.
- moved session4.inc from php-lib tree.
- moved session4_custom.inc and user4.inc from unsup/ directory.
- Fixed [ #542808 ] nextid()'s lock() in db_mysql.inc
- Fixed [ #542811 ] nextid() uses mysql_query
- in layout_html.inc removed an overlooked calltime pass by reference;
all other calls to defval() were correct
- session.inc fallback_mode only applies when cookies are disabled.
Session in URL cannot force fallback mode anymore when cookies are
avail. There no switch for that. If needed use a dedicated subclass
with mode=get in affected scripts or trusted environs.
- session.inc now has the block_alien_sid = true/false switch. It
blocks the creation of a new session by a sid provided by the user.
- in auth.inc, allow cancel_login to come from GET as well as POST
- was set to POST from global variable yesterday
- Responded to [ #455856 ] PHPLib fails with register_globals off
- replaced global post vars in auth (auth.inc, *loginform.ihtml, local.inc)
- replaced $GLOBALS["PHP_SELF"] with getenv("PHP_SELF") in tree.inc
- did not audit all classes - problems may likely exist in other files
- Fixed [ #446455 ] Failures with register_globals off
- Fixed [ #474472 ] db_mssql.inc metadata() contains bugs
- Added [ #474476 ] stuff/create_database.mssql7 attached
- Removed unrelated file pages/probe.php3
- Fixed [ #482372 ] problem in page.inc
- changed isset($sess|$user) to is_object($sess|$user)
- Modified lock() in db_mysql.inc to allow lists of tables
- Modified connect() in msql, mssql, mysql, odbc, pgsql and
sybase setting *_connect() as default and allowing the use of
*_pconnect()
- Thanks to Giancarlo Pinerolo for the wait_timeout advice
- fixed [ #480851 ] "call by reference" warning in user.inc
- Fixed wrong year in my last serveral CHANGES entries :)
- Fixed [ #500160 ] Invalid use of (php)header function
- By adding "false" flag to header() calls that send the same header.
- Thanks to Huib Kleinhout
- Fixed wrong pathname in prepend.php3
- Template changes:
- changed debug handling so set, get and internals can be tracked separately (rha)
- added debug statements throughout to track most function calls (rha)
- debug output contained raw HTML -- is now escaped with htmlentities (rha)
- Alter regex in set_block to remove more whitespace around BEGIN/END tags to improve HTML layout (rha)
- Add "append" option to set_var, works just like append in parse (dale at linuxwebpro.com, rha)
- Altered parse so that append is honored if passed an array (Brian)
- Converted comments and documentation to phpdoc style (rha)
- Added clear_var to set the value of variables to "" (rha)
- Added unset_var to usset variables (rha)