changed the flags parameters to be a bitfield + constants (I don't know what
I was thinking!). Added a couple of extra parameters so that the equivalent
functionality of the openssl smime command can be pretty much used in full.
Added some more error reporting.
Nick Gorham [Mon, 2 Apr 2001 15:18:47 +0000 (15:18 +0000)]
Added small change to php_odbc module, to check for failed SQLDisconnects
and to close any outstanding transactions if the call fails, then disconnect
again. This can cause chaos with SQL Server, this regards a SELECT as
starting a transaction, and will leave it open if the result set is not all
read.
Ulf Wendel [Thu, 29 Mar 2001 15:01:16 +0000 (15:01 +0000)]
- 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?
Tomas V.V.Cox [Wed, 28 Mar 2001 23:52:21 +0000 (23:52 +0000)]
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()
Dan Kalowsky [Tue, 27 Mar 2001 15:46:27 +0000 (15:46 +0000)]
The last fix was missing a &, Marc Boeren either made the patch wrong, or I applied it improperly. Anyways, Sebastian Bergmann discovered it, and supposedly is fixed with this.
Tomas V.V.Cox [Mon, 26 Mar 2001 23:31:49 +0000 (23:31 +0000)]
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()
Marc Boeren [Fri, 23 Mar 2001 14:50:17 +0000 (14:50 +0000)]
Fixed compile errors for PostgreSQL support (Mc)
Removed globals that Rui put in, and changed the dbx_get_row
to include a row_number (which PostgreSQL expects) (Mc)
Added source files to Makefile.in and dbx.dsp (Mc)
#Could someone please check if the PostgreSQL support works?
#And please, check your work _before_ you commit anything!
Marc Boeren [Fri, 23 Mar 2001 10:23:58 +0000 (10:23 +0000)]
Changed header for source files, now point to PHP license (Mc)
Found another // comment and replaced with /**/ (Mc)
Removed proprietary license (in favor of php license) (Mc)
Added .cvsignore file, I hope it works correctly (Mc)
Stig Bakken [Fri, 23 Mar 2001 01:15:05 +0000 (01:15 +0000)]
* 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
Ben Mansell [Thu, 22 Mar 2001 18:54:51 +0000 (18:54 +0000)]
Fix a bug with POST requests. If the Content-Type header wasn't present,
we were setting SG(request_info).content_type to NULL, instead of
an empty string. This was stopping PHP from processing the data.
Ben Mansell [Thu, 22 Mar 2001 18:48:51 +0000 (18:48 +0000)]
Fix a bug with POST requests. If the Content-Type header wasn't present,
we were setting SG(request_info).content_type to NULL, instead of
an empty string. This was stopping PHP from processing the data.