Commit Graph

2873 Commits

Author SHA1 Message Date
Stig Venaas
4d6f3b40a7 Added Oracle LDAP SDK SSL support 2000-08-20 18:47:14 +00:00
Derick Rethans
45e9e3a9fe - Fix for bug #6263 2000-08-20 17:39:44 +00:00
Stanislav Malyshev
5a7409ee1a Fix by-reference passing for scanf's
@- Fix by-reference parameters passing for xml_ functions and for scanf functions (Stas)
2000-08-20 16:09:06 +00:00
Stanislav Malyshev
50161c9ee8 Fix XML by-reference passing 2000-08-20 15:59:54 +00:00
Sascha Schumann
b6978fe1af Fix numerus of SAPI Modules title 2000-08-20 14:43:56 +00:00
Sascha Schumann
c8b8a908ca Provide PHP_SEPARATOR which expands to the default directory separator
on the target platform.
2000-08-20 14:02:57 +00:00
Stanislav Malyshev
ce0c4a7991 Fix fgetc (#6259) and ftell error condition returns 2000-08-20 13:24:14 +00:00
Sterling Hughes
f75db1e3cb A Whole buncha stuff, mostly bug fixing...
- Make constants case-sensitive, conforming with the rest of PHP &
	the C API.
	- Make module compatible with thread safety features.
	- open_listen_sok() -> open_listen_sock()
	- Remove ext_skel comments
	- Get rid of the ZVAL macro and replace with the correct Z_*_*
	macros
	- declare all functions local to the file as static.
	- Remove empty PHP_MSHUTDOWN() function.
	- Removed confirm_sockets_compiled()
	- Changed RETVAL_* macro's to RETURN_* macro's eliminating errors
	with incorrect return values and a potential leak/crash or two.
	- functions that return void, actually return void
	- Replaced 'long' in the prototypes with 'int'
	- Fixed fd_zero() function, it gave a WRONG_PARAM_COUNT when you
	gave it the proper parameter count.
	- Changed the way an arbitrary number of parameters were accessed
	from build_iovec() to use the Zend API.
	- Added socketpair() and shutdown() functions.
2000-08-20 10:31:27 +00:00
Sterling Hughes
cd599d17c0 Bunch o' changes..
- Add the ability to return the web page into a variable
	by setting the CURLOPT_RETURNTRANSFER constant to 1.
	- Make everything conform to the naming guidelines.
	- Delete the resource id from the file_id table when a
	resource is closed.
2000-08-20 08:28:00 +00:00
Sascha Schumann
4ba16a1169 Make use of zend_isinf and zend_isnan. 2000-08-20 06:08:14 +00:00
Sascha Schumann
fbdf502307 Remove php_realpath from build.
It was broken and should not be used in any way.
2000-08-20 05:27:59 +00:00
Jesus M. Castagnetto
e103155d92 Added some more predefined constants 2000-08-19 22:01:37 +00:00
Frank M. Kromann
61df257c0f We only need winsock.h one time 2000-08-19 21:15:43 +00:00
Zeev Suraski
7a45e3cb89 - Update NEWS
- Fix non ZTS Windows build
2000-08-19 18:01:04 +00:00
Stig Venaas
90eac6a390 Adding Oracle LDAP SDK support 2000-08-19 14:10:11 +00:00
Frank M. Kromann
53a3f074ab Adding howto file for MS SQL 2000-08-18 22:24:27 +00:00
Chuck Hagenbuch
c4b2498bae use estrndup and efree to hopefully avoid both munging of arguments and
leaking memory.
2000-08-18 16:02:27 +00:00
Sascha Schumann
382dd4a394 Add necessary *_FETCH() macros 2000-08-18 13:50:04 +00:00
Sterling Hughes
890ae1e244 #Its fixed this time, no really. 2000-08-18 13:43:22 +00:00
Sterling Hughes
c80f2bcba2 Purely cosmetic. 2000-08-18 13:24:00 +00:00
Sterling Hughes
1b8ee02fd6 Fix #6234 2000-08-18 13:22:09 +00:00
Hartmut Holzgraefe
c1ceeaf830 typo fix in array_diff error message, fixes bug #6236 2000-08-18 12:45:01 +00:00
Hartmut Holzgraefe
867160a751 minor typo fix in proto 2000-08-18 12:28:28 +00:00
Andrei Zmievski
4f96d15f33 Reverting the pemalloc -> malloc change until we figure out why it breaks. 2000-08-17 19:01:28 +00:00
Andrei Zmievski
ba0e3f2145 No need to have persistent allocation. 2000-08-17 16:09:00 +00:00
Chuck Hagenbuch
b436f97a53 prevent mail_criteria from munging the variable passed in containing the
query - just had to add a cpystr(). if this isn't the right fix, let me
know, but it does work.
2000-08-17 16:01:14 +00:00
Hartmut Holzgraefe
7c7e5a9081 additional include should fix bug #6086 2000-08-17 13:17:14 +00:00
Sam Ruby
d93732179b Better error reporting when dll/shared library is not able to be loaded.
Submitted by: Bård Farstad <bf@ez.no>
2000-08-17 10:14:50 +00:00
Stanislav Malyshev
56ecc78983 Fix chunk_split (#6208) 2000-08-17 08:47:42 +00:00
Andi Gutmans
056401fa6c - It should be #ifdef PHP_WIN32 2000-08-17 04:05:57 +00:00
Sterling Hughes
8a8b5dacc6 ts issues. 2000-08-17 02:14:41 +00:00
Thies C. Arntzen
ffad41019e compile fix 2000-08-16 15:23:05 +00:00
Hartmut Holzgraefe
41360c24b6 proto fixed 2000-08-16 12:47:09 +00:00
Jouni Ahto
e85ba0901a - Return NULL type when column is NULL, now that we have it in PHP4.
- Fixed a bug in handling NULL columns, PQgetvalue() doesn't return a NULL
  pointer in this case, but a pointer to a string of 0 length...
2000-08-16 01:03:20 +00:00
Uwe Steinmann
fdd374fddb - Inserted constants for fdf flags 2000-08-15 18:46:59 +00:00
Sterling Hughes
15902929e8 @ Fix stdout support with the swf extension. (Sterling) 2000-08-15 17:30:41 +00:00
Sterling Hughes
185f6e95d8 Leftovers... 2000-08-15 17:03:48 +00:00
Sterling Hughes
d06c2d9eb1 Add Win32 support for cURL.
#  Switch this commit message with the last one and you get the
#  right commit order.
2000-08-15 16:54:48 +00:00
Sterling Hughes
d06c4b2e3f This fixes to problems:
- Apache not having the output go to stdout in some cases.
- Output being displayed before the header is displayed.

And causes the following:

- *Slightly* slower cURL transfers.
2000-08-15 16:50:14 +00:00
Derick Rethans
28273dfaa2 - Clearified which version of libmcrypt is enabled
# Request by Olivier Cahagne
2000-08-15 14:58:21 +00:00
Stanislav Malyshev
65bb194d65 Fix byteorder for il2long and long2ip (#6159)
@- Fix byte order for ip2long and long2ip (Stas)
2000-08-15 10:32:55 +00:00
David Croft
05edda2222 display ini file entries on phpinfo(), unregister them on shutdown
numeric ini file entries stored as ints
removed unnecessary casts from PFPROG()
pval -> zval
2000-08-15 09:37:39 +00:00
Brendan W. McAdams
f1ed420604 # Added TODO so I can track things that need doing with this module - (brendan) 2000-08-14 21:10:25 +00:00
Sascha Schumann
78dfa91e1f Move MCLS_FETCH() inside #if HAVE_LIBMCRYPT24. Fixes build against
libmcrypt 2.2.
2000-08-14 19:38:23 +00:00
Sascha Schumann
61a058f538 Remove unnecessary precompiler macros. The failure condition is catched
at configure time.
2000-08-14 19:29:53 +00:00
Sascha Schumann
744dce0da0 Restrict INI entries when compiling against libmcrypt 2.4. 2000-08-14 19:26:09 +00:00
Sascha Schumann
51fe68fd51 Fix check for libmcrypt in non-system library paths.
Fix case where neither libmcrypt 2.4.x and 2.2.x were found.
Fix library order (scope limited to static libraries)
2000-08-14 19:17:16 +00:00
Stanislav Malyshev
159abaa900 Fix print length - again
# I hope _this_ is the right fix...
2000-08-14 15:54:57 +00:00
Stanislav Malyshev
821042278e Fix another crash with long formats (#6145)
# From strncpy manual:
# In the case where the length of src is less than  that  of
# n, the remainder of dest will be padded with nulls.
2000-08-14 11:07:28 +00:00
Stanislav Malyshev
97c200b170 Fix non-numbers printing (#6142)
# Please, somebody knowing about floats - check if there's more non-numbers
# seems we should check for all of them
2000-08-14 10:02:14 +00:00
David Croft
1a5d90c4ea presumably this was wrong 2000-08-14 08:37:28 +00:00
Sterling Hughes
bba7086ac3 - Fix spacing.
- Add error constants.
2000-08-13 19:32:09 +00:00
Sterling Hughes
93acbedce8 @ Fixed dbase_add_record. (Sterling) 2000-08-13 17:41:20 +00:00
Derick Rethans
20c007b229 - Now using the better way of using INI directives
- Changed some warning/error messages to be more clear
2000-08-13 11:53:04 +00:00
Egon Schmid
3f158be18a Some protos corrected. 2000-08-12 20:45:48 +00:00
Danny Heijl
2acc8630fe - The destructor for a connection resource closed the current
connection if the connection had been closed before (danny)
2000-08-12 12:03:41 +00:00
Derick Rethans
04720d3b3b - Fixed warning under VC6 2000-08-11 23:24:54 +00:00
Derick Rethans
bab5db79f6 @ Added support for libmcrypt 2.4.4 2000-08-11 18:45:17 +00:00
Danny Heijl
b78c48f7bc - restore ifx_close() to PHP3 behaviour for non-persistent connections
by silently reconnecting the existing link if closed earlier (danny)
2000-08-11 16:37:47 +00:00
Zeev Suraski
a120608807 Make COM work in a multithreaded environment 2000-08-11 13:30:37 +00:00
Hartmut Holzgraefe
66f9f8bf38 return type in proto for OCIError fixed 2000-08-11 13:13:11 +00:00
Adam Dickmeiss
17797f951c Added support for username, group and password for function yaz_connect. 2000-08-11 12:11:51 +00:00
foobar
d6f2f2c396 @- Fixed FTP module to accept multiline server replies (Jani)
# This fixed bug #4546.
2000-08-10 21:13:08 +00:00
Brendan W. McAdams
b283eec42a - changed all pvals to zvals (like they were before)
# Turns out zval *is* the proper call for a variable.
2000-08-10 21:03:02 +00:00
Vlad Krupin
23df217463 Added capability to create and manipulate a config object that can be
used later to create an instance of the spellchecker based on that
config.
2000-08-10 20:57:40 +00:00
Brendan W. McAdams
25240885a5 - Homogonized CCVS with the rest of the modules in the ext/ tree:
- All ZEND_* macro calls changed to PHP_* macros.
    - All zval's converted to pval's.
# Per discussion with Hartmut Holzgraefe on [PHP-DEV] list.
2000-08-10 20:23:33 +00:00
Sascha Schumann
34bee836b1 Remove bogus "by" 2000-08-10 19:27:30 +00:00
Joey Smith
a2cb77aa82 Cut and paste error? :) 2000-08-10 17:38:14 +00:00
Hartmut Holzgraefe
e67defffbe last patch reverted, i didn't get the whole picture here 2000-08-10 08:31:40 +00:00
Hartmut Holzgraefe
e59bcdbfb8 duplicate alias entry removed 2000-08-10 08:13:15 +00:00
David Croft
a7e8750446 #fixed typos 2000-08-10 07:00:12 +00:00
Brendan W. McAdams
609577d882 Updated Supported CCVS Versions based on Conversation with Doug. All versions of CCVS 3.0 and greater should work without problems.
@ The CCVS module is now stable and compiling. It compiles as a CGI and into apache cleanly without warnings. (Brendan W. McAdams)
2000-08-09 18:38:04 +00:00
Thies C. Arntzen
f0203f6288 @- Fix mSQL_close(). (nick@loman.net)
# i haven't tried it (don't have msql) , but this patch seems really needed!
2000-08-09 17:56:42 +00:00
Brendan W. McAdams
01a83f8cb0 Added Dougs name to the PHPINFO "Support By" call.
Added a "Release Supports CCVS Versions..." line in PHPINFO
2000-08-09 17:53:55 +00:00
Thies C. Arntzen
57faf76605 fix #6061 2000-08-09 17:52:30 +00:00
Brendan W. McAdams
9a2d9b993d Looks like I found my problem.
I was predeclaring my functions in ccvs.h (stupid of me), so PHP was seeing the predec from internal_functions.h, the predec again, and then the actual functions and barfing.  Compiles into apache now.  Will test further.
2000-08-09 17:43:04 +00:00
Brendan W. McAdams
1030d7a7d8 Tracked the stray -libccvs call to a bad config directive in the config.m4 file. 2000-08-09 16:45:49 +00:00
Brendan W. McAdams
14e86fcf0a Trying to resolve the build issue. This module is currently broken. PHP compiles it fine but I'm having linking issues when it gets to the apache level.
Any help would be greatly appreciated.
2000-08-09 14:31:12 +00:00
Brendan W. McAdams
048717c09c Looks like my editor barfed sometime today and saved the source files as
PC Format. Fixed that.  Seeing some compiletime issues that I'm working on resolving.
2000-08-09 01:18:28 +00:00
Brendan W. McAdams
8a4f3d3973 Had some issues with apache build. PHP Was passing a -llibccvs inadvertantly. Seemed to be an issue with the autoconf file. Fixed. I'll get back to cleaning up that AutoConf later. 2000-08-08 23:15:56 +00:00
Brendan W. McAdams
f3b757eead First commit of these files. We have had them working for about 3 weeks, very well, as a DL. The straight compile-into PHP support should work fine; I've got it compiling on my Slackware 7 i386 box with Apache 1.3.12 + mod_ssl. Documentation, module info and example code are forthcoming. 2000-08-08 22:36:56 +00:00
foobar
472c727186 Added missing 'subject'-key in envelope.
# I'm starting to think imap_mail_compose() should be rewritten from scratch..
2000-08-08 21:16:09 +00:00
Egon Schmid
3bc8b9dc9c Beautified some protos. 2000-08-08 20:28:19 +00:00
Vlad Krupin
831e15d0d1 Added instructions on how to use personalized dictionaries 2000-08-08 19:23:35 +00:00
Vlad Krupin
a2cdb7726f added support for personalized dictionaries.
new functions: pspell_new_personal(), pspell_save_wordlist().

pspell_save_wordlist() needs to be changed to return error-codes
once pspell library gets fixed
2000-08-08 18:46:41 +00:00
Stanislav Malyshev
ea3a3a1a2d Fix possible crash when stat information is not available 2000-08-08 15:50:28 +00:00
Martin Kraemer
8bf2339870 Bug #6016: Fix EBCDIC logic error in urlencode()
(a strchr() test was used backwards)
Reported by: dumbunny@tivo.com
2000-08-08 09:06:51 +00:00
Danny Heijl
d8790d9e2c - fix for # 5980 (using ifx_connect/ifx_close multiple times for the
same database connection) (danny)
2000-08-07 20:45:57 +00:00
Sascha Schumann
5d02c74b6b Add support for <binary> WDDX element. 2000-08-07 17:25:57 +00:00
Thies C. Arntzen
e05fbd00c2 fixed binary mode for Win32 2000-08-07 12:01:52 +00:00
Uwe Steinmann
edcbd1862e - got rid of php_ prefix in Modulename and some structs 2000-08-07 11:55:48 +00:00
Uwe Steinmann
6de4e2e382 - made compilation as dynamic lib possible 2000-08-07 11:40:54 +00:00
Uwe Steinmann
b5d39b4820 - added functions fdf_set_flags(), fdf_set_opt(), fdf_set_submit_form_action()
as proposed by <gweisz@l-speed.com>
2000-08-07 11:37:42 +00:00
Thies C. Arntzen
8289c85438 @- Fixed CLOB handling in OCI8 driver when using variable-width
@  character sets. (Thies)
2000-08-07 11:34:48 +00:00
Rui Hirokawa
635532053e fixed for openldap 2.0beta. 2000-08-07 03:18:00 +00:00
Rasmus Lerdorf
1fd0a0eeed Add 4th optional parameter to sybase_[p]connect to specify the charset
for the connection
@- Add 4th optional parameter to sybase_[p]connect to specify the charset
@  for the connection (alf@alpha.ulatina.ac.cr)
2000-08-07 00:15:39 +00:00
Egon Schmid
c6569921d7 Added a parameter type. 2000-08-06 19:53:56 +00:00
Egon Schmid
05684f2d86 Fixed some protos. 2000-08-06 18:56:14 +00:00
Egon Schmid
d9cd56ea76 Description from the ChangeLog. Thies, is it correct? 2000-08-06 17:56:56 +00:00
Andi Gutmans
c756ae2d9f Virtualize realpath, chmod, chown and utime
This should fix #5935 and #5904
@- Virtualize realpath, chmod, chown and utime (Stas)
2000-08-06 16:22:07 +00:00
Egon Schmid
868e3b1db8 Changed some protos. 2000-08-06 14:36:10 +00:00
Hartmut Holzgraefe
4e5946adf7 removed a BAD IDEA (tm) that filtered out backslashes 2000-08-06 11:32:32 +00:00
Danny Heijl
d140a799f7 - Fix INT8 returning garbage because ifx_int8toasc does not null_terminate
the returned string. (danny)
2000-08-05 13:14:44 +00:00
Thies C. Arntzen
53defde3e2 @- Fixed warning when shutting down OCINLogon() connections. (Thies) 2000-08-05 10:45:55 +00:00
Stanislav Malyshev
682c58c26f Open session files in binary mode (fix #5953)
@- Fixed \n in session variables bug on Win32 (Stas)
2000-08-05 10:25:00 +00:00
Thies C. Arntzen
34dfe582ff @- OCIError() would sometimes not report failed connections. (Thies) 2000-08-05 10:07:39 +00:00
Hénot David
282288efe4 Fix for a bug with persistent connections. 2000-08-05 03:22:16 +00:00
Sam Ruby
73db4d5cca Fix for bug 5911 - ANSI C violation: lvalues are not assignable 2000-08-04 18:55:49 +00:00
Sam Ruby
3da910ae24 Restore the ability to clean compile in non-multithreaded environments 2000-08-04 18:39:47 +00:00
Thies C. Arntzen
7b388964ee fixed ZTS compile 2000-08-04 18:14:38 +00:00
foobar
5356c100ee - This should fix bug #5964
# Could someone please check this out..it works as intented for me at least.
# But I don't have any Windoze machines available to test this there.
2000-08-04 17:18:54 +00:00
Hartmut Holzgraefe
b19fb9b6bd #ooops 2000-08-04 15:23:19 +00:00
Egon Schmid
48ef7e52a2 Sorry only the *_replaceparameters are wrong. 2000-08-04 11:57:21 +00:00
Egon Schmid
90b4600fe8 Wrong parameters found by Martin Buchholz @ six.de. 2000-08-04 11:50:16 +00:00
Hartmut Holzgraefe
920f6fd1fc ooops - theese new parameters are optional 2000-08-04 09:24:36 +00:00
Hartmut Holzgraefe
6a93f284bc added new second parameter to osrt functions in the protos 2000-08-04 09:19:38 +00:00
Hartmut Holzgraefe
562e83bc6d no longer needed 2000-08-04 09:03:54 +00:00
Hartmut Holzgraefe
aadc551965 do not rewrite absolute urls
(should be more clever and identify itself though)
2000-08-04 09:03:20 +00:00
Rasmus Lerdorf
9f2cd78e67 Small portability fix 2000-08-04 02:23:28 +00:00
Hartmut Holzgraefe
9cd387439e evaluate sendmail exit status, fixes unix side of bug #5630 2000-08-03 19:26:19 +00:00
Stanislav Malyshev
fda23fc253 Fix fclose prototype (#5930) 2000-08-03 16:37:35 +00:00
Hartmut Holzgraefe
74ca22e9ca will now work again on 1-character urls, spaces before and after '='
and urls containing '#' scrolling info
# argh, this file's not even a week old and already needs
# a heavy cleanup rewrite, but at least it gets all my test cases right
2000-08-03 11:42:39 +00:00
Rasmus Lerdorf
f896b9a354 Fix library ordering here so static builds will work 2000-08-02 19:49:04 +00:00
foobar
a4a0e18ec4 - Added two new functions: ldap_t61_to_8859() and ldap_8859_to_t61().
These functions are available only when using openldap which is compiled
  with STR_TRANSLATION and LDAP_CHARSET_8859 defined in ldap_cdefs.h (Jani)
2000-08-02 13:11:46 +00:00
Rasmus Lerdorf
b8f6e9dd03 Add Olympus-specific tags to read_exif_data()
@ Add Olympus-specific tags to read_exif_data() (Rasmus)
2000-08-01 22:05:15 +00:00
Hartmut Holzgraefe
4c9709ff0d typo fix 2000-08-01 20:21:35 +00:00
Sascha Schumann
cbc4b24a7a Enable building PHP against kerberized IMAP libraries 2000-08-01 15:24:56 +00:00
Hartmut Holzgraefe
f194a3a25d protect datetime() against all zero inputs ... 2000-08-01 11:16:20 +00:00
foobar
ab13d02d53 @- Fixed bug in imap_fetchheader() where using FT_PREFETCHTEXT didn't return
@  the body. Bug #4447. (Jani)
2000-08-01 09:11:46 +00:00
Hartmut Holzgraefe
b59e98b87c "undefined function" error message will now suggest similar named
functions as jikes compiler for java does (typo protection)
2000-08-01 07:57:19 +00:00
Hartmut Holzgraefe
ea5ab044bf trans-sid rewrite, is now state-aware (fix for bug #3411 and friends) 2000-08-01 07:45:14 +00:00
Stanislav Malyshev
e109aa30d6 When output is empty, exec should return "", not "\0" (#5775)
@- Fixed exec() returning "\0" when output is empty
2000-08-01 07:22:59 +00:00
Hartmut Holzgraefe
0df7721842 fix for bug #5672 2000-07-30 21:55:27 +00:00
Rasmus Lerdorf
75bb019760 Fix bug in strip_tags function as per bug #5857
@ Fix bug in strip_tags function as per bug #5857 (Rasmus)
2000-07-30 05:04:06 +00:00
Rasmus Lerdorf
677df784c1 This url symbol was a bit too generic. Change it to php_url instead.
It was clashing with a similar typedef in the UdmSearch integration I am
working on.
2000-07-29 22:32:21 +00:00
foobar
5fdc09fb36 @- Fixed bug in imap_compose_mail() which caused crashes. (Jani)
# This one was only partly ported from php3. As some user pointed it out,
# it was working in 3.0.x. But this needs further hacking. Some error
# handlers, at least. Fixes bugs #3337 and #5084.
2000-07-29 18:45:06 +00:00
Thies C. Arntzen
51fc3dede2 @- Fix reading of IPTC via GetImageInfo() for certain JPEG files. (Thies) 2000-07-29 15:29:35 +00:00
Zeev Suraski
52ff887db5 Made ob_start() and friends reentrant. It's now possible to implement this
long-requested functionality, now that output buffering is re-entrant:

function eval_ret($code)
{
	ob_start();
	eval($code);
	$retval = ob_get_contents();
	ob_end_clean();
	return $retval;
}
2000-07-29 14:46:09 +00:00
Jouni Ahto
3d1b363967 Fix #5817 and really, really check what gets passed further... 2000-07-29 06:07:26 +00:00
Jouni Ahto
ecb7b4d271 Removed an extra tab, it caused problems for Digital Unix' poor native make... 2000-07-29 04:45:38 +00:00
Jouni Ahto
d88fe953ae This should fix #5826. 2000-07-29 04:24:11 +00:00
foobar
7c84d6a082 Fixes bug which caused crash, if result_entry wasn't valid. 2000-07-28 22:39:22 +00:00
foobar
9f25b9c1f7 # Oops..where did those creep in? =( 2000-07-28 21:48:16 +00:00
foobar
40b89f34fb @- Made ldap_add(), ldap_modify(), ldap_mod_add(), ldap_mod_replace()
@  binary-safe. Original patch: Terrence Miao <terrence_miao@email.com> (Jani)
#Thanks go to Terrence for making a patch correcting this bug in php3.0.12...
#A patch, which somehow wasn't included at all in it?-) I wonder why..?
2000-07-28 21:31:02 +00:00
foobar
c8b8281e22 @- Fixed bug in ldap_get_values_len() which makes it NULL-safe. (Jani)
@  Bug-report and fix submitted by Michel Alexeline <alexel@dr15.cnrs.fr>
# Plus I added missing ldap_value_free_len().
2000-07-28 00:09:33 +00:00
Sam Ruby
ed2b68a9c3 Fix bug 5619 - explain how to add to the classpath on Win32 machines.
Reported by: "Carl S. in 't Veld" <cveld@bigfoot.com>
2000-07-27 18:57:23 +00:00
Rasmus Lerdorf
3bca4e220d Make ext_skel create a Makefile.in set up to handle shared extension
support automatically
@ Make ext_skel create a Makefile.in set up to handle shared extension
@ support automatically (Rasmus)
2000-07-27 17:56:02 +00:00
Jon Parise
021ad113ef Reworded some of the php_error messages for grammar and clarity.
(For example, settled on "cannot" instead of "can't" in all case)
2000-07-27 16:43:38 +00:00
Stanislav Malyshev
f24c8c6f4b Fix safe mode handling by touch 2000-07-27 13:47:03 +00:00
Stanislav Malyshev
9aa854dc6e Fix memory leak in touch when safety check fails 2000-07-27 13:28:21 +00:00
Kristian Köhntopp
cd2929aead Access to global variable safe_mode fixed. 2000-07-26 21:38:21 +00:00
Vlad Krupin
3d3d238021 Changed syntax of pspell_new() (one more parameter - mode)
pspell_new() parameters that are empty ("") are now ignored

Removed pspell_mode() and pspell_runtogether() - their
functionality moved to pspell_new() because the ability
to dynamically change those settings is not in ISPELL, and
is likely do disappear from ASPELL, according to ASPELL
author.

Created a new constant - PSPELL_RUN_TOGETHER for pspell_new()

fixed a bug in pspell_new() that caused non-English dictionaries
to be ignored

removed a bogus line from pspell_new() that could result in
a memory leak
2000-07-26 21:32:29 +00:00
Kristian Köhntopp
102156298a Added seteuid and setegid functions on request by max@valkyrie.sscf.ucsb.edu.
Also fixed the function detection for the HAVE_ functions.
2000-07-26 21:25:01 +00:00
Vlad Krupin
f1f91467fa Removed pspell_mode() and pspell_runtogether() 2000-07-26 21:24:17 +00:00
Sascha Schumann
08f7586031 Get rid of unnecessary preprocessor constructs. 2000-07-26 16:42:04 +00:00
Sascha Schumann
30472a1cc1 Use the lcg as another entropy source for seeding the PRNG when creating
a salt for crypt().
2000-07-26 16:35:32 +00:00
Egon Schmid
e4b7e9e916 Protos fixed. 2000-07-26 11:43:01 +00:00
Egon Schmid
9bb4011d06 Proto fixed. 2000-07-26 11:28:14 +00:00
Stanislav Malyshev
79527dd539 Make proper object initialization 2000-07-26 11:21:03 +00:00
foobar
123d745249 @- Added new function: ldap_compare(). (Jani)
# Documentation is coming right after this.
2000-07-26 11:01:44 +00:00
Sterling Hughes
56b7b7a8a9 * EXTENSIONS -- update status on CURL & SWF
* NEWS --
  1.  Change wording for the ibase and sybase DB announcement.
  2.  Remove second pfpro announcement, if pfpro is being released with 4.0.2
  entries about new features before 4.0.2 shouldn't be in there.
  3.  Joey, that entry just doesn't seem incredibly relevant to the NEWS file,
  I'll backport it if you want (or add a new entry).
* ext/standard/info.c -- Add a CREDIT_LINE() for CURL.
2000-07-26 05:41:38 +00:00
Sterling Hughes
2aff369398 Add CURLOPT_TRANSFERTEXT option to curl_setopt(). 2000-07-26 05:25:37 +00:00
Sascha Schumann
79186d4fe9 Read from /dev/u?random until the buffer is filled.
Submitted by: Derick Rethans <d.rethans@jdimedia.nl>
2000-07-25 22:17:20 +00:00
Kristian Köhntopp
19687ea1ed Trivial change to add access to CURL version information for
user programs in order to have them react appropriately.
2000-07-25 22:15:26 +00:00
Vlad Krupin
b3305dab64 added several functions for manipulating wordlists:
pspell_store_replacement()
 pspell_add_to_personal()
 pspell_add_to_session()
 pspell_clear_session()
2000-07-25 22:09:52 +00:00
Vlad Krupin
29ab69a767 - added several functions for manipulating wordlists - pspell_store_replacement(), pspell_add_to_personal(), pspell_add_to_session(), pspell_clear_session().
- fixed a few confusing typos in comments
2000-07-25 22:06:38 +00:00
Stanislav Malyshev
104b4f38df Fix more bugs in browscap
# now it shoudl work, but leaks like hell, so don't use it yet
2000-07-25 18:50:02 +00:00
foobar
e5f6dcb9c2 @- Fixed a bug in ldap_get_entries() and ldap_get_attributes. (Jani)
Fixes bugs #5433 and #5603.
2000-07-25 15:34:28 +00:00
Stanislav Malyshev
85eb0bb29d Report configuration path that is really used, not that is compiled in
# it does matter when using -c option
2000-07-25 10:54:07 +00:00
Hartmut Holzgraefe
772c4026bb htmlspecialchars and htmlentities will now
encode single quotes to &#39;
(due to feature request in BUG ID#5254)
2000-07-25 10:18:06 +00:00
Stanislav Malyshev
005d4c4deb Default section name should be uppercase, I guess 2000-07-25 08:09:00 +00:00
Sterling Hughes
c9167fa9df remove comments for consistency. 2000-07-25 00:29:52 +00:00
Sterling Hughes
cb44d1b30a 1. Move from experimental -> production
2.  Thread safety
3.  Set some initial options
4.  Redo the placement of some functions and options.
2000-07-24 20:00:00 +00:00
Joey Smith
9d6d8bf1fa @- Fix #4591. Register the appname as PHP 4.0, not 3.0
@  Credit to andrew@digitalpulp.com. (Joey)

sybase.globals was still using PHP 3.0 as the appname.
2000-07-24 19:12:32 +00:00
Dan Kalowsky
f6d891674d Patched to work for Solid/Linux libc5 and glibc2 without the need for renaming the lib files, thanks to Kevin Way... fixed typo from GLIHC to GLIBC 2000-07-24 18:01:42 +00:00
John Donagher
d805076ac2 # Added code to pfpro.c and php_pfpro.h to parse defaults out of php.ini
@- For the pfpro extension: defaulthost, defaultport, defaulttimeout, and
@  all of the default proxy settings can now be defined in php.ini
2000-07-24 17:57:05 +00:00
Dan Kalowsky
ebe6dbbbae Patched to work for Solid/Linux libc5 and glibc2 without the need for renaming the lib files, thanks to Kevin Way 2000-07-24 14:21:18 +00:00
David Croft
0836e10a15 various version 2.0 and 2.01 licenses -> 2.02 2000-07-24 05:41:02 +00:00
David Croft
83513d9580 Changed lots of PHP 3 licence headers to PHP 4, mainly in .h files.
Added a few RCS $Id$ tags.

# Note: I have avoided changing any .h files if the corresponding .c file
# had not already been changed as I am not sure if there are any legal
# issues here. So some extensions still have PHP 3 headers.
2000-07-24 01:40:02 +00:00
foobar
428eb46f78 It's better not touch those ldap->ld_* when they aren't given as parameters.
(Now using -1 the parameters not wanted can be omitted)
# Plus some source-polishing.
2000-07-23 21:32:02 +00:00
Thies C. Arntzen
9752d1a089 (getimagesize) fix FORCE_REF. 2000-07-23 16:49:42 +00:00
Stanislav Malyshev
7c296bd9cc Add another check for broken browscap object
# I do not know how it could get broken, but just in case...
2000-07-23 11:32:18 +00:00
Stanislav Malyshev
a172147a91 Try to fix some get_browser crashes and clean it up
# Probably needs more work, just what I could see immediately
2000-07-23 11:11:35 +00:00
Joey Smith
a44137974b Setting "compatibility" parameter requires having a PDF structure that
has NOT had PDF_open_*() called on it, according to the documentation.

There is not currently any way to obtain such from user-land in PHP.
@ Catch users trying to set "compatibility" parameter, which is not
@ supported from user-land.
#
# Not sure this is the best way to do this...
# Uwe, could you please double check this?
2000-07-23 08:31:13 +00:00
Sterling Hughes
8aadb68db1 @ Fixed dbase_add_record. (Sterling)
Fixed dbase_add_record
2000-07-23 03:45:24 +00:00
Sam Ruby
f4e94a5030 Complete the work mapping arrays and hashtables 2000-07-22 20:36:11 +00:00
Sam Ruby
668af98d75 Fix regression in passing strings as parameters 2000-07-22 18:09:28 +00:00
Sterling Hughes
d69d04cf75 fix bug 5322. 2000-07-22 17:47:30 +00:00
Sam Ruby
3f4c7c8359 Allow java.lang.Hashtables to be passed into PHP as arrays. 2000-07-22 17:32:32 +00:00
Sam Ruby
7893c72965 Verify that a classname is actually passed on a new Java() call. 2000-07-22 16:13:20 +00:00
Sam Ruby
3e4a4f2376 Respect the object type the user specified (i.e., never automatically
convert the result of "new Java()" to a primitive type)
2000-07-22 13:43:46 +00:00
Sam Ruby
313ca6b5e8 Don't assume that Java byte arrays are null terminated. 2000-07-22 12:40:49 +00:00
David Croft
a5a9a4928b # zeev is god 2000-07-22 04:23:41 +00:00
David Croft
89153d9c05 fixed socket_set blocking in windows
(bug 3845)
2000-07-22 01:53:16 +00:00
David Croft
8dd1fdb1a0 wordwrap function from Chris Russel <russel@yorku.ca>
differences from his patch:
 - wordwrap width and wrap-string now optional parameters
   (default to 75 and "\n" respectively)
 - wordwrap_byte is now just an automatic special case of wordwrap
 - Zend API compliant

@- Added new function "wordwrap" to wordwrap long strings from Chris
@  Russel <russel@yorku.ca> (David Croft)
2000-07-22 01:12:24 +00:00
foobar
01d5aec3aa Forgot those constants. 2000-07-22 00:34:22 +00:00
Sam Ruby
eb8a55893d Pass PHP arrays to Java as hash tables; minor cleanup 2000-07-21 22:08:50 +00:00
Joey Smith
be6c3d8b62 INI stuff labelled sybase.* should be sybct.*.
Thanks to dean.bennett@home.com.
2000-07-21 19:58:38 +00:00
foobar
549aec4500 @- Added four additional arguments: attrsonly, sizelimit, timelimit, deref which
@  were missing in ldap_search(), ldap_list() and ldap_read() functions (Jani)
@- Fixed a bug in ldap_search/list/read() which prevented returning the partial
@  results when 'Sizelimit exceeded' error occurred. (Jani Taskinen)

# And nuked some compile time warnings. Took a while to get this commit message
# written..I hope I got it right. =)
2000-07-21 19:00:21 +00:00
Hartmut Holzgraefe
d4936d8fcf column size for date in imap_headers increased (see bug id #5699) 2000-07-21 15:50:37 +00:00
Andrei Zmievski
fbced1b9cc (php_addslashes) Fixed stop condition - it should only take into account
the length of the string, not the characters.
2000-07-21 15:29:59 +00:00
Ken Coar
f869e47eae Undo numerical format regression introduced by the fix of the
zero-precison %s formatting.
2000-07-21 03:21:56 +00:00
Hartmut Holzgraefe
5390b6a291 fix for bug #5707 2000-07-20 23:08:26 +00:00
Sterling Hughes
0690bca499 fix 5705
.
2000-07-20 17:15:25 +00:00
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