Yasuo Ohgaki [Fri, 25 Jan 2002 00:51:03 +0000 (00:51 +0000)]
Added "pgsql.auto_reset_persistent" ini entry to catch broken connection
always with pg_pconnect(). (Default Off in source and php.ini-*)
This option requires a little overhead for pg_pconnect().
Yasuo Ohgaki [Thu, 24 Jan 2002 09:27:43 +0000 (09:27 +0000)]
Revert last 2 commit. Instead, make php_pgsql_do_connect() to catch
broken connection always.
# I think this is better than check&reset connection when query
# functions are called.
Sean Bright [Tue, 22 Jan 2002 03:35:23 +0000 (03:35 +0000)]
Fix for bug #15130. Way too much effort for this bug, but cleaned up code
a bit, use zend_parse_parameters(), etc, etc. We only look for extensions
in the basename, not the full path.
Jon Parise [Mon, 21 Jan 2002 18:25:04 +0000 (18:25 +0000)]
Adding Archive/Tar.php to php4/pear/. This is needed in order for the
phptar script (php4/pear/scripts/phptar) to be useful, so it makes sense
to make Archive/Tar.php a standard component.
Dan Kalowsky [Mon, 21 Jan 2002 14:11:17 +0000 (14:11 +0000)]
this closes off a number of ODBC bugs.
# this is a bit hack-ish in it's functionality. The proper answer (allowing
# users to set their cursor type) has bugs with some tests cases at this time.
# But this is being done to just get ODBC back into working order.
Sean Bright [Sun, 20 Jan 2002 04:55:40 +0000 (04:55 +0000)]
These PHP3_* macros aren't defined in the code, so these haven't been doing
anything for some time now (at least since 4.0 was released). So let's go
ahead and remove those.
# If I missed something obvious, let me know and I will revert the patch.
Edin Kadribasic [Sun, 20 Jan 2002 02:30:18 +0000 (02:30 +0000)]
Modified the build system to make certain extensions (pcntl, ncurses,
pcntl) only with cgi/cli sapi's. This was done by adding 3rd optional
parameter to PHP_EXTENSION macro which should be set to "cli" if
the extension only makes sense for that class of api's.
- Fixed passing parameters to domxml_xslt_process(). Now they can be either strings or XPath expressions.
- Several minor fixes in domxml_xslt_process().
Wez Furlong [Sat, 19 Jan 2002 14:06:52 +0000 (14:06 +0000)]
Make the decoder less strict to allow for brain-dead mailers that mark
messages as 7bit but then include 8bit chars in the body.
Thanks to Dan Fitzpatrick for bringing this to my attention.
shite :) too much WS fixes. leave the licence as it was...
# (why uses pear spaces and php tabs anyway... but i don't want to start another CS flame war ...)
# sorry for the mixing of different things in this commit
- added DOMXML_PARAM_THREE macro
- renamed domxml_dumpmem to domxml_dump_mem, added alias for
domxml_dumpmem
- domxml_has_attributes was missing in in zend_function_entry
@- added function domxml_dump_file($filename,[$compression]). Dumps XML to
@ a file and uses compression, if specified (chregu)
@- added exslt integration (see http://exslt.org for details). To be
@ configured with --with-dom-exslt[=DIR] (and --with-dom-xslt) (chregu, jaroslaw)
Thies C. Arntzen [Thu, 17 Jan 2002 18:56:11 +0000 (18:56 +0000)]
@ - Don't touch any globals in session_unset() if register_globals is set
@ to off. (Thies)
guys, shoot me if i'm wrong, but when we have set register_globals to off we
should _not_ touch any global variables at any time, right? so all session
register/unregister should only work on $HTTP_SESSION_VARS and $_SESSION. this
patch fixes at least one spot where we were touching globals even with
register_globals set to off.
Thies C. Arntzen [Thu, 17 Jan 2002 18:40:59 +0000 (18:40 +0000)]
@ - Added 3 new optional parameters to OCIFetchStatement(). They control
@ the number of rows to skip at the beginning of the cursor, the
@ maximun numer of rows that should be fetched and the format of the
@ returned array. (Thies)
# sorry, no time to write the docs for this right now...