📄 changes
字号:
$Id: CHANGES,v 1.7 2000/07/01 22:13:20 kir Exp $02 Jul 2000 kir - Fixed bug with empty query in all db_*sql.inc (PHP4 issue) - Added constructor with $query to all db_*sql.inc files30-Jun-2000 athompso - Added null-query special case handling to db_pgsql.inc (reported by Tony Cabot (toby@h00a0244c7066.ne.mediaone.net)28-Jun-2000 athompso - Fixed typo in session.inc that prevent cookie_domain from working properly. Thanks to M. Brian Akins (bakins@stsi.net) for pointing it out.03-May-2000 athompso - Added workaround to ct_sql.inc for case where MySQL UPDATE statements return affected_rows()==0 if the UPDATE didn't actually change any data but matched a row nonetheless. Thanks to Massimo Santoli <saint@zero.it> for providing suggestion.22-Apr-2000 kk - Tracked changes to template.inc and cart.inc from master repository. - Tracked change to db_pgsql.inc.17-Apr-2000 kk - Added allowcache mode "passive".23-Mar-2000 kk - VERSION is 7.2b - escape characters fixed in session.inc - added pre-check and post-check headers in session.inc to better support MSIE 5.x - fixed broken comments in template.inc.25-Oct-1999 negro - auth.inc code and documentation should be more in sync, now. PLEASE DOUBLE CHECK MY SPELLING!24-Oct-1999 kk - Documentation update, prepare for armageddon - Reviewed unsup/auth_v2.inc, removed all reference to ct_sql.inc, as there is no code dependent on that class in Auth (there may be such code in an Auth subclass, but that is outside the scope of the library). - Took Massimilianos auth code, because it is cleaner and straighter that what we had before. - db_mssql.inc: Auto_Free spelling fix. - Template class documented. - Changes to db_oracle.inc by kir accepted. - Fix to Table, regarding bug reported by Mark Nold. - removed stuff/patch.odbc as UID column name is long since gone.22-Oct-1999 kk - New method is_registered() for Session class. - Untested code added to Session, as suggested by Giancarlo Pinerolo on the list, to split up the start method. Please report your experiences or better yet, commit changes. - Added db_mssql.inc as contributed by Cameron Just.21-Oct-1999 kk - A first shot at a Template class. Dynamic templates are still missing, but will be added shortly. This is not FastTemplates, as I cannot include the FastTemplate source in my distribution and as I want to do several things differently. The Template class requires that you have preg support in your system. I will not port it down to ereg and I will not support anyone who does; in fact I will undo any ereg support someone might add to PHPLIB Templates. If you want ereg Templates, use the FastTemplate class instead.19-Oct-1999 negro - Added a check in oof_forms finish() method which provides a proper hidden field with session id if session is in "get" mode. This should avoid most problems with forms handled via "GET" method and maybe also via "POST" method. In my experience, this is the safer method for propagating session id when forms are involved.14-Oct-1999 kk - Removed trailing "\n" in ooh_forms elements rendering. Minimal change in validate_self() for radio elements.14-Oct-1999 kk - Include files fixed (using $_PHPLIB["libdir"] everywhere).01-Oct-1999 negro - Modified the regexp used in ooh_forms to convert from foo[int] to foo{int} to use "old" ereg() function instead of preg_match. This should prevent problems with Windows php3 implementation AND does not require latest php3 to run.01-Oct-1999 uw - Patch to oohforms, accept elementnames like foo[int]. foo[int] is converted to foo{int} in add_element/get_element so that it can't cause any harm in the internal array $this->elments in oohforms.inc. 28-Sep-1999 negro - Commit test, also tested by kk26-Sep-1999 sasha - Patch to db_mysql.inc metadata function to return metadata on a db query result vs. a static table. Same functionality for other db interfaces yet to be implemented.17-Sep-1999 negro - Corrected a minimal problem in of_text.inc, which lead to an error when default value contains a ' (single quote).11-Sep-1999 kk - A rather large patch to the OOH Forms facility, converting it from outputting the form data to returning that data as a string. This will allow for a much easier marriage of OOH Forms and FastTemplates. I would like to receive feedback on this.11-Sep-1999 kk - Minor changes in several database adaptors.29-Aug-1999 kk - Serializing variables that contain dollar signs does not work, because we generate code with "" around the assignments. This patch should fix that, I want you to try it.27-Aug-1999 ot - Added new class to store session data in files. This might be faster as to store the data in databases.26-Aug-1999 kk - Reverted back to old database structure for the active_sessions table and backed out the statistics code out of ct_sql.inc. Used a new table and an auto_init file instead to achieve the same effect. This should provide better backward compatibility and be easier to extend.25-Aug-1999 hroth - fixed error on line 144 in ct_sql - mysql database definition was buggy25-Aug-1999 kk - Killed all occurences of uid as a database field, I hope. - Changed column START to START_TIME in database, because of reserved word problems (with Oracle, again). - Added statistics to active_sessions as suggested by Heiko Roth (but in a cleaner way). Also fixed source layout in ct_sql.inc. TODO: These changed have to be duplicated for ct_split_sql.inc.21-Aug-1999 negro - Added htmlspecialchars quoting in of_text and of_textarea, when setting value for an input field. This should avoid problems when the user inputs a string that contains double quotes. 20-Aug-1999 negro - Changed a multiline string in example local.inc (method auth_validatelogin) using concatenation. This should minimize problems when the file is saved using \r\n as line terminator.07-Aug-1999 negro - Corrected a grave bug in serialization regexp, which caused very bad behaviours when serializing data containing \ or " chars.05-Aug-1999 athompso - Added ability to specifiy the scope of the session cookie (i.e., what domains the cookie is valid for) by setting sess->cookie_domain to a non-FQDN. Usage: class MySession extends Session { $sess->cookie_domain = ".netuse.de"; }; whereupon that cookie (and, by implication, the session, auth, user, etc...) will be valid for any host in the .netuse.de domain. Note that this REQUIRES that all the hosts running PHPLIB within that domain have the SAME back-end active_sessions table!! Thanks to "Caffeinate The World <mochaexpress@yahoo.com>" for the suggestion. Note that I don't have a working SGMLtools. Can someone paste this into the Session documentation, please?31-Jul-1999 negro - Added a new class tpl_form. The class may help the user build complex data entry forms. Relies on OOH Forms. 29-Jul-1999 negro - Bugfix of metadata() in db_pgsql.inc as per suggestion in maling list. Tnx to "Zot O'Connor" <zot@ZotConsulting.com> - Added a perl script (doc/classdoctpl.pl) which should produce a workable documentation template from a php3 file containing class definition. - Removed experimental (and undocumented) method ac_get_auth() from ct_sql.inc. Checked with Sascha.28-Jul-1999 negro - Bugfix of create_database.mysql as per suggestion in mailing list. Tnx to Caffeinate The World <mochaexpress@yahoo.com>27-Jul-1999 jeffrey - Modularized table.inc code to adhere more closely to OOP practices. The code is now broken down into high-, mid-, and low-level functions. This allows developers to use the high-level function as previous, or have more control over the flow of control using the mid- or low-level functions. - New functions include: - show_table_rows, show_table_rows_result, show_table_page_rows, show_table_page_rows_result, show_table_heading_row, show_table_heading_row_result, show_table_heading_cells, show_table_cells, table_heading_cell_open, table_heading_cell_close, table_cell_open, table_cell_close, set_checkbox_heading, table_checkbox_cell, set_checkbox. - Added new instance variable $map_cols. This allows you to remap table column names to new names using an array. - Added new instance variable $add_extra. If set, the code then calls two new functions: table_heading_row_add_extra and table_row_add_extra. These functions do nothing in the Table class, but are there for derived classes. Override these functions in your derived classes and set $add_extra so they are called. You can then added extra cells to the row. Examples might be links to "edit", "delete", or "view" for that row of data.26-Jul-1999 ssilk - Removed query_mysql.inc, you should be able to totaly replace it with query_sql.inc. - Included a mechanism to truncate string in query_sql.inc like mySQL. This is needed for other databases like oracle etc. - Included a little bit better escaping by using AddSlashes() and str_replace()22-Jul-1999 negro - Sketch implementation for a blob container class. be_null.inc and be_sql.inc - vim settings implementing COMMIT rules (stuff/phplib.vim)20-Jul-1999 negro - New class CT_Split_Sql, very similar to CT_Sql but with the ability to save and restore data > 4k using multiple db rows. Useful when you have to serialize large quantities of vars.14-Jul-1999 kk - Werner Stuerenburg <ws@art-quarter.com> suggested a functionality like translated_plain_where in SQL_Query. Discarded his code, but implemented the idea. - Fixed table headings in table.inc. - Fixed db_mysql.inc to handle returns from halt(). - Changed Auth to include an auth_preauth() function. - Several small improvements to the shopping cart.13-Jul-1999 sas - Released 7.010-Jul-1999 negro - Implemented table_names() method in db_pgsql.inc07-Jul 199 sts - Implemented table_names() method in db_oracle.inc,db_oci8.inc,db_mysql.inc07-Jul-1999 kk - The CVS change reports have been improved to include proper sender information. Please do keep the CHANGES file up to date anyway.22-Jun-1999 kk - The CVS now generates change reports to the mailing list, phplib-dev@lists.netuse.de.21-Jun-1999 negro - Made db_pgsql honour $Auto_Free directive. - Some documentation updates (relating magic_quotes_gpc Apache directive) 02-Jun-1999 negro - Corrected textarea (oohforms) behaviour when showing default value (2 newlines were added every time the widget was showed). 18-May-1999 negro - modified table.inc in order to check for a non empty result set by checking against $db->num_rows() instead of issuing a $db->next_record() and then seeking back one step.13-May-1999 sas - commit a patch to table.inc contributed by Alex Vorobiev <sasha@forum.swarthmore.edu>30-Apr-1999 kk - Changes all occurences of _Poe and Poe_ to _Example and Example_, do make it clearer what these classes are. Changes are per discussion on the mailing list.18-Apr-1999 padraic - Changed form function in Sql_Query class to return HTML form as results of function instead of sending directly via printf.02-Apr-1999 negro - Added reset() to cart class31-Mar-1999 negro - Added set_item($art, $num) to cart class - Added tot_arts() to cart class30-Mar-1999 negro - Syntax error in php/db_pgsql.inc (line 80, missing double quote).22-Mar-1999 kk - Extended Cart documentation.20-Feb-1999 sas - Alex has added his query_mysql class - Added parameter $UseODBCCursor to db_odbc06-Feb-1999 sas - add new parameter to form->start() suggested by Jesse Swensen et al - add null (dummy, skeleton) container
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -