1
0
mirror of https://github.com/php/php-src.git synced 2026-04-22 23:48:14 +02:00
Commit Graph

191 Commits

Author SHA1 Message Date
Ulf Wendel e294ebbc6d - uuups, modified the package.dtd, undo 2001-03-29 22:01:52 +00:00
Ulf Wendel f20f37f8ad - Added a package xml file for IT[X] templates 2001-03-29 21:54:27 +00:00
Chuck Hagenbuch 183b651a84 Fix a couple of warnings when calling PEAR::raiseError() statically. 2001-03-29 19:54:27 +00:00
Ulf Wendel b8f18cbc3d - package XML for the Cache
I'm not sure how to use the package.dtd to document packages and if at all the Cache can be it's own package, but one has to start with it... Sterling, Stig can you give me a hint?
2001-03-29 15:01:16 +00:00
Tomas V.V.Cox 1910b18164 pgsql.php
* better handling of $rownum param in fetchInto()
* changed property numrows[] to num_rows[]

DB.php
* $rowmun in fetch* now defaults to NULL

mysql.php
* added default $fetchmode to ordered
* removed extra checks in connect()
* fetchrow() now uses fetchInto()
* added the "fetch absolute row numbers" feature to fetchInto()
(not tested)

ifx.php
* better handling of $rownum param in fetchInto()
2001-03-28 23:52:21 +00:00
Ulf Wendel f5efe02d88 Added a simple usage example 2001-03-28 18:32:20 +00:00
Tomas V.V.Cox 88d526ec5b pgsql.php
* connect() always use pg_connect string instead of the deprecated params
mode
* removed duplicated functions prepare() and execute() (now in common.php)
* pgsqlRaiseError() always fills native error param on DB_error objs
* added third param $rownum to fetchInto() so users can fetch also absolute
row numbers
* changed fetchRow() to use fetchInto() (can not erase, still used in get*()
from common.php

DB.php
* added third param $rownum to fetchInto()/fetchRow() so users can fetch
also absolute row numbers
* changed fetchRow() to use fetchInto()
2001-03-26 23:31:49 +00:00
Jon Parise 0f99a7abea Install the Informix database implementation. 2001-03-24 21:48:41 +00:00
Sebastian Bergmann a92a7018e8 Added missing files. 2001-03-24 21:40:25 +00:00
Stig Bakken 48aa99f6be * added Christian Stocker's tableInfo() implementation 2001-03-24 07:00:44 +00:00
Stig Bakken 4651aa04c0 * fixed Oracle tests, fixed some bugs in DB_oci8, all tests but
errorNative() pass now (but that may be a bug in the test :-)
* implemented numRows() emulation in DB_oci8 that is available
  in "optimize portability" mode only
2001-03-23 01:15:05 +00:00
Jon Parise d4952b482e Style and whitespace, based mostly on a submission from
"Tomas V.V.Cox" <cox@idecnet.com>.
2001-03-21 04:15:40 +00:00
Christian Stocker fcdd641539 GarbageCollection was moved into a PEAR-Deconstructor 2001-03-17 16:06:31 +00:00
Colin Viebrock 83848d2e1f Forgot to add it here 2001-03-12 19:35:28 +00:00
Stig Bakken 7a7590002c HEADS UP: renamed config header file in "phpize"d extensions to
"config.h" rather than "php_config.h".
2001-03-12 09:54:26 +00:00
Andrei Zmievski 2d54fb39b9 Use proper class name. 2001-03-12 03:05:04 +00:00
Jon Parise cf48573277 Revised version of the parseDSN function.
Submitted by: "Tomas V.V.Cox" <cox@idecnet.com>
2001-03-11 23:26:18 +00:00
Stig Bakken adc498e705 * only register the destructor if it exists 2001-03-10 09:59:15 +00:00
Ulf Wendel dc5f1ed519 Formatting and minor inline doc changes. 2001-03-08 20:41:39 +00:00
Ulf Wendel 78c050114c Added a basic Cache_Error class. 2001-03-08 20:39:15 +00:00
Sebastian Bergmann 9e43c35158 Whitespace only. 2001-03-06 15:27:30 +00:00
Martin Jansen b9749a40cc fixed typo 2001-03-04 14:26:58 +00:00
Ulf Wendel 0cf7edb4a5 The main file with new features.
- added support for cache dataset groups
  - added extSave() - see my next PEAR list posting
  - added getUserdata()
2001-03-03 19:21:49 +00:00
Sebastian Bergmann fdadc6342d Whitespace only. 2001-03-02 10:29:34 +00:00
Sebastian Bergmann 6fcde257f3 Added experimental version of Cache_Function module. 2001-03-02 07:52:56 +00:00
Sebastian Bergmann 34f81476f1 Added Graphics and Output Cache. 2001-03-01 19:22:25 +00:00
Chuck Hagenbuch 217ac2778c missing a backslash 2001-03-01 17:02:05 +00:00
Chuck Hagenbuch e591ae24cb update the makefile for the new Cache classes. 2001-03-01 16:33:34 +00:00
Chuck Hagenbuch b917f1e159 use standard naming/capitalization, and do a bit of error checking when
instantiating the storage classfile.
2001-03-01 16:32:28 +00:00
Chuck Hagenbuch 6bbecd4c07 factory-generated classes have lowercase subclass names by our (newly
revised) standards.
2001-02-22 16:01:14 +00:00
Stig Bakken c685f25d33 * allow empty passwords in dsn (for example "mysql://user:@database") 2001-02-20 23:00:08 +00:00
Jon Parise a7679d2556 Go back to listing the copyright years explicitly (instead of using a
range).
2001-02-18 17:47:43 +00:00
Chuck Hagenbuch 0b11c910f5 All DB modules should return NULL from fetchRow() now if there are no more
results, and a DB_Error object only on an error.

DB::isError() return false when passed null now.
2001-02-16 17:14:39 +00:00
Anders Johannsen c484140cfa Fixed indentation problems related to use of TAB instead of spaces 2001-02-12 00:38:28 +00:00
Anders Johannsen 7eb2ad0d81 The Cmd:: class implements an abstraction for various ways
of executing commands (directly using the backtick operator,
as a background task after the script has terminated using
register_shutdown_function() or as a detached process using nohup).
2001-02-11 21:39:13 +00:00
Chuck Hagenbuch 5182488725 may as well go by the capitalization we agreed on sooner rather than later. 2001-02-07 20:22:59 +00:00
Colin Viebrock 2265b5b4c5 I think this should've been changed as well, right? 2001-02-02 17:59:30 +00:00
Chuck Hagenbuch 38fae9bae4 make sure to include subclasses before trying to instantiate them. 2001-02-02 05:24:31 +00:00
Colin Viebrock e365fc21e9 trigger_error() should be ($msg,$level), no? 2001-02-01 20:15:08 +00:00
Chuck Hagenbuch 00b84703f8 use $HTTP_SERVER_VARS, in case register_globals is Off, and use !empty()
instead of just if () to avoid errors.
2001-01-31 18:34:39 +00:00
Stig Bakken 1a07f60b92 whitespace 2001-01-31 01:27:09 +00:00
Stig Bakken 86c5a77ed9 @Allow url encoding in DB usernames and passwords (Stig, PEAR) 2001-01-30 08:34:55 +00:00
Stig Bakken 7cf00c7076 @Added raiseError and setErrorHandling methods to PEAR class (Stig, PEAR)
# This allows all objects to have their own default error handling
# or use a global default.
2001-01-30 00:55:27 +00:00
Chuck Hagenbuch b4378dcf80 have DB::isError return true if passed "null". Now you can more consistently
use DB::isError(), since some of the db drivers return nulls from various
functions (like fetchRow()), and others don't... We should probably make all
of them just return errors. I did this for the mysql driver, as a start.
2001-01-26 20:07:22 +00:00
Colin Viebrock 35a1731c85 Forgot this too ... 2001-01-23 21:09:55 +00:00
Colin Viebrock f07b32969f Never added this ... 2001-01-23 21:08:13 +00:00
Chuck Hagenbuch dea0e01fa8 install the various HTML/* files 2001-01-20 05:39:26 +00:00
Sascha Schumann d0c2255750 Fix make install in VPATH builds 2001-01-13 10:02:08 +00:00
Chuck Hagenbuch 5faaf2436f Add HTTP_Compress::, which provides an easy wrapper around producing
gzip-compressed html. This should be ported to use the ob_gzhandler() output
handler, but I haven't had a chance to look into that yet.
2001-01-12 15:24:21 +00:00
Mika Tuupola 946fe57119 PR:
Submitted by:
Reviewed by:
Obtained from:
Added Image_Remote class.
2001-01-12 09:13:55 +00:00