Commit Graph

2519 Commits

Author SHA1 Message Date
Andrei Zmievski
9de5b9e04a # There you go, Wico.
Fix bug $5676.
@- Fixed preg_replace() to automatically escape quotes in matched
@  strings when using /e modifier. (Andrei)
2000-07-20 15:27:16 +00:00
Sterling Hughes
8a6f3f80f2 Fix dbase_create() for real. 2000-07-20 02:48:44 +00:00
David Croft
4e526516e2 automatically initialise library at first use if necessary
automatically cleanup library at request end if user hasn't done so
libpfpro library version shown on phpinfo()
2000-07-19 18:55:12 +00:00
David Croft
89874a4b0d # remove leading _ from #define 2000-07-19 18:51:55 +00:00
Rasmus Lerdorf
30c81ea5c5 Itanium patch from Steve Robb <steve@eu.c2.net>
@ Itanium patch (Steve Robb)
2000-07-19 16:19:40 +00:00
Sascha Schumann
0216ab891b typo 2000-07-18 22:38:22 +00:00
Sascha Schumann
6da67bf234 Fix building ingres_ii as a shared module 2000-07-18 22:34:42 +00:00
Zeev Suraski
327e33972b Shutup a gcc warning 2000-07-18 20:40:23 +00:00
Andrei Zmievski
7edad11a74 Fixed compilation errors. 2000-07-18 19:13:14 +00:00
Ken Coar
0ca493768b Bring forward the zero-precision (%.0s) string formatting fix
from PHP3.  (After being nagged by Thies. :-)  Whee!  My first
	PHP4 commit..
2000-07-18 16:34:30 +00:00
Stig Bakken
7bb67a6200 @Set default include_path so PEAR files can be reached (Stig) 2000-07-18 11:02:28 +00:00
Sterling Hughes
bb5987fe74 Patch STDOUT support. 2000-07-18 05:52:03 +00:00
Hénot David
63a31786b6 Added new function ii_autocommit() 2000-07-17 23:57:36 +00:00
Hénot David
00d67abd30 Made ingres_ii module compile with its new name 2000-07-17 23:21:42 +00:00
Egon Schmid
41d3f4dbbf Fixed some protos. Only one line for the description. 2000-07-17 21:50:35 +00:00
Hénot David
15ff1d211b Added extension ii for Ingres II native support.
@- Added extension ii for Ingres II native support. See README in ext/ii
@  directory. (David H)
2000-07-17 21:29:30 +00:00
Zeev Suraski
896d64be10 Build fixes 2000-07-17 21:13:44 +00:00
Zeev Suraski
1237a33c79 - Made Interbase compile under Win32, cleaned warnings
@- Added Win32 project for the Interbase module (Zeev)
2000-07-17 20:51:47 +00:00
Uwe Steinmann
eb3bc5aba6 - Cannot see any good reason why the test script in the dir of
the extension, though it is in tests as well
2000-07-17 15:44:24 +00:00
Andrei Zmievski
8f96ea6b20 *** empty log message *** 2000-07-17 13:37:26 +00:00
Stanislav Malyshev
7b9d2e33bf Fix crash in stripcslashes("") (#5628) 2000-07-17 10:22:30 +00:00
Sterling Hughes
6787071417 Add CURL support (http://curl.haxx.se).
# Currently pretty experimental, and labeled so, it
# only really works with the CGI version.  I wanted
# to get the sources in CVS, so I could give a
# reference point for some issues, and get more
# extensive testing...
#
# Does anyone know how long it is going to be till
# the next minor release?
2000-07-16 19:37:33 +00:00
Rasmus Lerdorf
246999a51f Tiny wording fix 2000-07-16 18:51:00 +00:00
Egon Schmid
7a0d047a68 Some cosmetic changes. 2000-07-15 16:09:18 +00:00
Thies C. Arntzen
cef6cc1ec0 fixed uninitilized var in ZTS mode. 2000-07-15 14:54:04 +00:00
Egon Schmid
23b56e3c64 Some cosmetic changes. 2000-07-15 14:35:41 +00:00
Thies C. Arntzen
31dae9e367 @- You can now call Ora_Error() without prameters to get the reason
@  for a failed connection attempt. (Kirill Maximov)
2000-07-15 14:15:10 +00:00
Egon Schmid
9194a0fb12 Some cosmetic changes. 2000-07-15 13:00:41 +00:00
David Croft
09c9d44399 merged changes from Signio module by John Donagher <john@webmeta.com> 2000-07-15 05:08:22 +00:00
David Croft
9ee9eaab3a test file for pfpro 2000-07-15 03:07:49 +00:00
David Croft
467917cbde @- New extension "pfpro" for interface with Signio Payflow Pro (David Croft)
New extension pfpro to interface with Signio Payflow Pro library for
credit card processing etc
2000-07-15 01:13:40 +00:00
Rasmus Lerdorf
3c10e038e2 Add IMG_GIF, IMG_JPG, IMG_JPEG, IMG_PNG and IMG_WBMP constants for
imagetypes() function
@ Add IMG_GIF, IMG_JPG, IMG_JPEG, IMG_PNG and IMG_WBMP constants for
@ imagetypes() function (Rasmus)
2000-07-14 22:07:57 +00:00
Rasmus Lerdorf
2f960d70b9 Add ImageTypes() function which returns a bitfield with the supported
image formats.  1=gif, 2=jpeg, 4=png and 8=wbmp
@ Add ImageTypes() function which returns a bitfield with the supported
@ image formats.  1=gif, 2=jpeg, 4=png and 8=wbmp (Rasmus)
2000-07-14 21:51:31 +00:00
Rasmus Lerdorf
e3fd1edc49 Make it possible to specify an empty string as a thousands-seperator
in number_format()
@ Make it possible to specify an empty string as a thousands-seperator
@ in number_format()
2000-07-14 18:46:13 +00:00
Egon Schmid
0bba8eeae1 Protos fixed. 2000-07-14 18:42:35 +00:00
Rasmus Lerdorf
c78d180231 Shared module support for LDAP extension
@ Shared module support for LDAP extension (Troels Arvin)
2000-07-14 13:13:25 +00:00
Mike Waychison
99b85d1919 (imap_mail) Fixed a sizing of the arg parameter array. Was causing
Seg-Faults if rpath was specified.
@  Fixed a bug with imap_mail where apache would segfault if the rpath
@  parameter was specified.
#  ouch.
2000-07-14 08:12:53 +00:00
Rasmus Lerdorf
1d0ae2cde4 Use dashes and short day name in cookies since some browsers seem picky
about this
@ Use dashes and short day name in cookies since some browsers seem picky
@ about this (Rasmus)
2000-07-14 01:08:59 +00:00
Egon Schmid
411280eb9d The description for protos need no period. 2000-07-13 20:55:22 +00:00
Vlad Krupin
9936548993 - Making pspell compile as a shared module
- fix a couple typos
@ Making pspell compile as a shared module
2000-07-13 20:39:14 +00:00
Egon Schmid
d041052428 Fixed protos. 2000-07-13 19:09:32 +00:00
Egon Schmid
28f38ea4fe Fixed protos. 2000-07-13 18:44:57 +00:00
Egon Schmid
7ad2213278 Forgotten to change. 2000-07-13 18:27:10 +00:00
Egon Schmid
86dfb4c292 Corrected some protos. 2000-07-13 18:21:40 +00:00
Danny Heijl
641b0aa2d3 - typo 2000-07-11 17:53:02 +00:00
Danny Heijl
ec6861733b - Work-around for ESQL/C bug with BLOBs and NULL values (Danny). 2000-07-11 17:47:16 +00:00
Sam Ruby
4ef7cb0700 Fix for problem noted by Jay Greenspan on TurboLinux machines 2000-07-11 17:33:14 +00:00
Andrei Zmievski
c9c425d625 Updated comments. 2000-07-11 16:51:04 +00:00
Andrei Zmievski
3ac0ae9dff @- Improved array_multisort() to be able to specify sort type as well sort
@  order. Incidentally, it can be used to sort multi-dimensional arrays
@  as well. (Andrei)
2000-07-11 16:48:03 +00:00
Zeev Suraski
168ccfc133 Disable the hash_apply() protection on hashes that persist across requests - it's unsafe
because we may be aborted at any point
@- Fixed a possible data corruption in case of a huge amount of aborted requests (Zeev)
2000-07-11 14:29:38 +00:00
Sascha Schumann
b74e079ce7 The official product name is PostgreSQL, so s/PostgresSQL/PostgreSQL/ 2000-07-11 12:38:06 +00:00
Sascha Schumann
c917e170f6 Always use the current DIR_DELIMITER to create the session file path 2000-07-11 12:29:19 +00:00
Andi Gutmans
f5401b43b5 - Don't need extern for functions 2000-07-11 04:11:15 +00:00
Vlad Krupin
ece6962f06 - PS_* constants changed to PSPELL_*
- zval is used instead of pval
(as Andrei Zmievski suggested)

Modified Files:
 	ext/pspell/pspell.c
2000-07-10 23:18:27 +00:00
Vlad Krupin
a58ca45b2e Initial release. Includes:
- Functionality of aspell
- 3 modes of spellchecking (fast, normal, bad_spellers)
- support for run-together words
2000-07-10 21:29:19 +00:00
Egon Schmid
96675e9d58 Changed the descriptions. 2000-07-10 20:00:02 +00:00
Egon Schmid
6efcc50176 Changed some protos and the authors email address. 2000-07-10 19:46:29 +00:00
Danny Heijl
42693bb820 - Fix the case of NULL BYTE and TEXT columns. (Danny).
ESQL/C (sometimes ?) does not set the indicator variable,
  but the locator->loc_indicator instead.
2000-07-10 19:08:27 +00:00
Sascha Schumann
e8101d4f7b Unify use of my email address 2000-07-10 10:09:15 +00:00
Sascha Schumann
eb0cbbd2d9 Also output the name of the save_handler when reporting a failed write
attempt.
2000-07-10 08:35:03 +00:00
Egon Schmid
1231a3e473 Fixed other protos. 2000-07-09 19:33:19 +00:00
Egon Schmid
d7b554ee11 Fixed a proto. 2000-07-09 14:26:50 +00:00
Egon Schmid
11b749e047 Corrected a mispelled word. 2000-07-09 14:14:51 +00:00
Stanislav Malyshev
ad271a2b33 Fix stupid bug. 2000-07-09 10:31:47 +00:00
Jouni Ahto
af343ca8a1 - Left debugging accidentally on... 2000-07-09 10:30:52 +00:00
Jouni Ahto
ccb216ce49 (ibase_blob_import) It's good to have link handle available, if you want to
use it...
(_php_ibase_exec)   On error situations, only xsqlda was freed, not its
                    contents.
2000-07-09 10:27:41 +00:00
Jouni Ahto
a63013bfbf - I must be getting demented. Forgot to add and register list destructor
function when creating new list entry type. Several other modifications
  too related to this. Blobs still not working.
2000-07-09 07:30:15 +00:00
Sam Ruby
629bc67086 Reentrancy fixes 2000-07-09 04:16:31 +00:00
Egon Schmid
ee513d6ed5 Eliminated a typo. 2000-07-08 22:55:40 +00:00
Andrei Zmievski
885e40db05 @- Updated str_pad() to be able to pad on left/right/both sides. (Andrei) 2000-07-08 20:38:23 +00:00
Egon Schmid
2bd5ad3131 Uncomplete proto. 2000-07-08 19:31:16 +00:00
Egon Schmid
81f59f0949 Aren't there some function names conflicts? 2000-07-08 15:13:31 +00:00
Sam Ruby
ee36612cef Add experimental APIs to get and clear the last exception 2000-07-08 10:35:50 +00:00
Chris Vandomelen
fd3d84ee52 * php4/ext/sockets.c, php4/ext/php_sockets.h:
Numerous changes. Many prototypes changed to be more like the
	appropriate *NIX counterparts. Many new prototypes defining many
	more advanced socket routines. Better AF_UNIX socket support.
	bind() now recognizes the socket type and acts appropriately,
	instead of needing the AF_* for the socket passed in.
# Something I'd like to write yet is proper signal() support. Unfortunately,
# the last time I tried, doing anything with the signal except ignoring it
# caused PHP to segfault. And to have decent socket support.. at least, from
# my experience, having signals is a good thing. Only problem.. to implement
# it, some changes would have to be made to the parser - since that is where
# the problems lie on handling asynchronous signals.
2000-07-08 01:50:34 +00:00
Jouni Ahto
1df6557b49 - Restore testing for Unicode charmap to what it was, it was working(?), this
shouldn't have any effect on other charmaps.
- Remove bogus message about not finding any Unicode mapping table.
2000-07-07 14:00:50 +00:00
Jouni Ahto
99c6e63e66 - Move away from encoding transaction number into link_id and use properly
resources instead for both.
- Some cleaning.
2000-07-07 12:06:05 +00:00
Stanislav Malyshev
4d41c8ba49 Fix fgets re-allocation (add +1 to accomondate ending \0). 2000-07-07 09:06:47 +00:00
Stanislav Malyshev
6ace712438 Fix add_assoc_string functions.
add_assoc_string(l) last parameter is "duplicate", not string length.
2000-07-07 08:47:11 +00:00
Uwe Steinmann
5bb19f7a9c - still an error in my last patch (thanks Andi) 2000-07-06 14:56:52 +00:00
Andi Gutmans
3247b9a207 - Use #ifdef PHP_WIN32 to detect Windows 2000-07-06 14:47:02 +00:00
Thies C. Arntzen
2b70aaf12d @- Fixed crash in gzopen(). (Thies)
# hmm - this should be rethought as one should be able to do
# gzopen("http://..")
2000-07-06 11:25:24 +00:00
Stig Bakken
81ded022e0 Applied DBMaker patch by Jeffrey Lin <clin@lion.syscom.com.tw> 2000-07-06 08:38:12 +00:00
Stig Bakken
6fd156b481 Applied multiple character set support diff by Rob Goodwin
@Multiple character set support in gdttf.c (Rob Goodwin)
2000-07-06 08:13:33 +00:00
Uwe Steinmann
e4eb807516 - last commit indroduced a new compile warning, should be fixed now 2000-07-06 05:36:54 +00:00
Uwe Steinmann
e1d9d149ab - fixed compile problems on win32 (thanks to Gabriel Weisz <gweisz@l-speed.com>) 2000-07-06 05:30:06 +00:00
Jouni Ahto
344955d020 - Still one misssing zend_list_addref() and small fix in pg_close.
Fixes #5349 (but not the way reporter wants...).

# There's something in the way database_connect/close functions behave when
# implemented the way as in mysql module that I find a bit strange... because
# of that extra zend_list_addref() there to prevent default link disappearing
# if it's not assigned to variable, when it is, I guess its' reference count
# is at this point 2, I can do: open a db link and assign it to a variable,
# close the link and still use it afterwards.
2000-07-05 22:17:30 +00:00
Jouni Ahto
bcb7639fb3 - Test pg_encoding_to_char instead (it's existence in libpq means that
PostgreSQL was compiled with multibyte support and client encoding
  functions do something meaningful). Fixes #5417.
2000-07-05 21:28:16 +00:00
Zeev Suraski
37de6635b4 That's no bug, it's quite fine the way it is (if id is
set to -1, it's ignored, and the passed_id argument is used).

If you're experiencing trouble with mysql_close(), please give me a
reproducing script.  If there's a bug, it's not as simple as that.
2000-07-05 20:41:06 +00:00
Uwe Steinmann
46a9e6c23f - Discoverd possible bug. Could somebody have a look. 2000-07-05 19:48:24 +00:00
Uwe Steinmann
f6347145ff - Link is now of type RESOURCE and not LONG 2000-07-05 19:47:43 +00:00
Danny Heijl
9f4c3eac9d - Increase allowed number of columns from 256 to 384. 2000-07-05 19:37:45 +00:00
Egon Schmid
80f13900f7 Fixed some protos. 2000-07-05 18:33:32 +00:00
Andrei Zmievski
057264d6ed Fix attribution on NEWS. 2000-07-05 15:18:26 +00:00
Uwe Steinmann
055c523702 - Support for pdflib 3.01 2000-07-05 14:30:51 +00:00
Jouni Ahto
ec62b2d1cd - First try at getting interbase to compile and work in ZTS-mode. Compiles. 2000-07-05 04:21:00 +00:00
Sascha Schumann
277b0e15b8 (PHP session_destroy) return the error condition from storage handler's
session_destroy method.

Submitted by: juhl@eisenstein.dk
2000-07-05 01:26:22 +00:00
Egon Schmid
cd3973612b Not every argument type is mixed. 2000-07-04 20:31:54 +00:00
Egon Schmid
f2457db5f3 Missed a two liner. 2000-07-04 19:41:31 +00:00
Mike Waychison
4604031b84 (PHP date) Added new 'O' format modifier for printing out the GMT Offset in
the same manner as emails have in their Date: header.  The format
           is similar to [+-]HHMM of offset.
@- Added new 'O' format modifier that will output the GMT offset as "[+-]HHMM"
@  (eg: Pacific time is -0700).  This is useful for things such as Date: mail
@  headers.
#  Um, this should have existed LONG time ago...   much better than that gmt
#   offset in seconds modifier :)
2000-07-04 16:16:32 +00:00
Sascha Schumann
f34c1fbee2 Make script work on POSIX sh 2000-07-04 05:15:33 +00:00