foobar
55ccb5a35b
Fix the fix.
2000-10-31 00:00:26 +00:00
Zeev Suraski
78194a47b7
- Complete the move to the new INI parser. (Side effect: at last, people
...
can finally have spaces and tabs in their extension statements...)
2000-10-30 23:39:14 +00:00
Derick Rethans
2f5f83f518
- Added the two constants mentioned in bug #6097
...
# I did not test it, because I don't have access to an Adabase RDBMS
2000-10-30 18:00:58 +00:00
Stanislav Malyshev
fad7092ff8
Update to use reference-serializer too
2000-10-30 17:18:39 +00:00
Stanislav Malyshev
c31faf0bd9
Add support for serializing references.
...
@- Add support for serializing references (Stas)
# WDDX and shared memory functions not covered yet
2000-10-30 17:10:06 +00:00
Stanislav Malyshev
4b5eb2cf2c
Fix crash in sscanf in error handler ( #7533 )
2000-10-30 16:44:01 +00:00
Stanislav Malyshev
702b510dc6
Don't try to work with negative timestamps
...
# It returns the same day as for 0, which is wrong
2000-10-30 16:13:03 +00:00
Stanislav Malyshev
7eed2e5b01
Make "H*" work
2000-10-30 12:26:26 +00:00
Chris Vandomelen
7e8074731b
Removed INI entry for read() function, made changes to read() so it will
...
take 4th parameter specifying whether to use the read() wrapper or the
system read() function, and modified the wrapper() so that it worked (mostly)
properly once again.
2000-10-30 01:09:15 +00:00
Zeev Suraski
f52a59062d
parse_ini_file() supports a new optional 2nd argument that instructs it
...
to divide the directives to arrays according to the sections in which they
reside
2000-10-29 23:34:33 +00:00
Zeev Suraski
60c0835470
Move browscap code to the new modular INI parser
2000-10-29 23:10:22 +00:00
Zeev Suraski
4af433d627
Use the new INI parser for parse_ini_str()
...
- parse_ini_str() is now thread-safe, and supported under Windows (Zeev)
2000-10-29 22:42:01 +00:00
Zeev Suraski
1fd09132c2
Initial steps to move the INI mechanism to the Zend engine
2000-10-29 11:38:26 +00:00
Thies C. Arntzen
825457ae64
update my email.
2000-10-29 09:14:55 +00:00
foobar
e76bafd648
Check also that the file isn't empty.
2000-10-29 04:36:33 +00:00
foobar
4a895b6919
@- Fixed conflict with OpenLDAP and Oracle 8.1.x (Jani)
...
# PR: 4257,4698,5527,6112,6650,7195
2000-10-29 04:10:07 +00:00
foobar
ac7e22d3c4
Fix for bug #7416 . ldap_set|get_option() are also in NSLDAP SDKs.
2000-10-28 19:22:46 +00:00
Stig Venaas
273422f277
Moving --with-openssl to global configure, want OpenSSL for not just snmp
2000-10-28 18:26:45 +00:00
Stanislav Malyshev
06de8e78cf
Allow to send secure cookies
2000-10-28 17:13:28 +00:00
Zeev Suraski
3dc7fc54a0
- URL-opened files now store the HTTP response header in $http_response_header
...
- Some layout updates
2000-10-28 01:31:56 +00:00
foobar
b45d265c54
Fixed PR: 6730. And it is mentioned also in RFC 959 to be this way.
2000-10-27 20:53:04 +00:00
foobar
11af318a62
Fixes PR: 7245
2000-10-27 20:47:36 +00:00
Frank M. Kromann
d313ad8bf5
Making _php_math_longtobase() and _php_math_basetolong() callable from DLL and SO modules
2000-10-27 20:26:16 +00:00
Sterling Hughes
70f262d0c5
New e-mail address.
2000-10-27 19:10:23 +00:00
Andrei Zmievski
d4cf62f86f
@- Fixed array_rand() to shuffle results when the number of requested
...
@ elements is the same as the number of elements in the array. (Andrei)
2000-10-27 14:08:33 +00:00
Hartmut Holzgraefe
6b435870de
type fixes to make compilers happy
2000-10-27 10:48:07 +00:00
Sam Ruby
33c8f50534
Allow strings to be passed to methods expecting primitive types.
2000-10-27 10:27:19 +00:00
Sascha Schumann
9b2a1110a6
Allow users to specify whether they want to replace existing header fields.
2000-10-27 09:43:06 +00:00
Uwe Steinmann
e577215736
- added four functions to do fulltext query
2000-10-27 09:29:40 +00:00
Daniel Beulshausen
6f0e47f690
it won't work otherwise
...
# http://support.microsoft.com/support/kb/articles/Q115/8/57.asp
2000-10-26 18:51:12 +00:00
Daniel Beulshausen
4aab269181
added dba extension for win32, currently the dsp is
...
only configured with db3, adding other configurations
shouldn't be hard
2000-10-26 18:29:10 +00:00
Daniel Beulshausen
52e45f514b
use V_RENAME makro instead
2000-10-26 18:17:45 +00:00
Sascha Schumann
00d1d1a347
Protect us from Apache 2.0's pcre-posix stuff
2000-10-26 18:15:56 +00:00
Sascha Schumann
39387c7781
Remove second_arg_force_ref, defined in Zend
...
Submitted by: Bill Stoddard
2000-10-26 18:15:18 +00:00
Sascha Schumann
2517250b35
The type has changed to size_t.
2000-10-26 18:10:57 +00:00
Sascha Schumann
4f757a3af0
Add session_adapt_url().
2000-10-26 18:10:43 +00:00
Sascha Schumann
c57830c1d2
Reinstantiate single quotes properly.
...
Add url_adapt_single_url() API which modifies a single URL. Might be used
to modify the Location: URL.
2000-10-26 18:05:47 +00:00
Sascha Schumann
8ef0d01baf
Make the API more leaner (sp?) and get rid of *copy*.
2000-10-26 18:01:51 +00:00
Andrei Zmievski
26f5fe6375
Fix dba after resources patch.
2000-10-26 17:38:01 +00:00
Andrei Zmievski
27a1c12ad8
session_unset() now cleans up $HTTP_SESSION_VARS as well.
2000-10-26 17:37:47 +00:00
Nikos Mavroyanopoulos
e5b0945e4c
Corrected some checks for errors.
2000-10-25 18:27:55 +00:00
Nikos Mavroyanopoulos
93232c7064
Added keygen_s2k function. Function which generates keys from passwords.
2000-10-25 18:09:23 +00:00
Andrei Zmievski
f1dcb32c9f
Use zend_register_list_destructors_ex() instead.
2000-10-25 17:44:02 +00:00
Andrei Zmievski
a35bf41670
Added array_sum() function.
2000-10-25 17:40:11 +00:00
foobar
1026416153
gdImageWBMP has some bug in it. Using the php-internal one works.
2000-10-25 17:35:29 +00:00
Sascha Schumann
2d7860edc7
__USE_GNU shall not be defined by application
2000-10-23 14:04:54 +00:00
Daniel Beulshausen
6911ee5b99
it's n.a. on win32 :)
2000-10-23 13:56:22 +00:00
Stanislav Malyshev
48e5d3189f
Make zlib compile again
2000-10-23 13:19:07 +00:00
Alexander Feldman
7c11cfaf03
Fixed a bug in session.c. If the user calls session_module_name with a
...
parameter, then the mod_data pointer is initialized to NULL and then
php_session_save_current_state did not check this value before referencing
the pointer. Added a check in php_session_save_current_state.
2000-10-23 13:10:01 +00:00
Hartmut Holzgraefe
86c0d81253
have you ever tried to run the regression tests with error_reporting=E_ALL ?
...
now it will run smoothly without all theese 'undefined ...' warnings
2000-10-23 07:40:05 +00:00
Hartmut Holzgraefe
b17451635d
added a regression test skeleton file
...
plus a partintro in xml documentation template
2000-10-23 07:31:31 +00:00
Andrei Zmievski
fa8452bbb2
Fix bug #7397
2000-10-23 02:01:19 +00:00
Chris Vandomelen
b57f9eb541
Added ini entry for choosing whether to use the read() wrapper or directly
...
calling the read() system call.
# Some people were commenting about "oddities" in the wrapper that I hadn't
# noticed before, though I've used it in many places before now..
2000-10-22 23:43:48 +00:00
Thies C. Arntzen
248d8527fd
@- OCIBindByName() now does better parameter-checking. (Thies)
2000-10-22 19:33:59 +00:00
foobar
7ef3e414e2
Makes curl extension compile again plus some typo fixes.
2000-10-22 17:29:33 +00:00
Sascha Schumann
f69a4a431a
Fix php://* being handled by the ftp handler
2000-10-22 14:41:02 +00:00
Stig Venaas
5741816315
Corrected prototype comments for ldap_get_option and ldap_set_option
2000-10-22 11:25:47 +00:00
Stig Venaas
e8c7fd7f5f
Fixed array_type_data_compare(). I want strings to always differ from
...
numbers, but not say 7 and 7.0 to differ.
2000-10-22 11:18:21 +00:00
Chris Vandomelen
989d471643
Hopefully made some compile fixes for Solaris ("sun" is an already defined
...
symbol on Solaris.. s_un isn't...), and corrected bugs with checking for a
string by checking if Z_STRVAL_PP(ptr) == NULL instead of
Z_STRLEN_PP == 0, causing segfaults when uninitialized values were passed
into certain functions.
@- Attempted to make compile fixes for Solaris in ext/sockets/sockets.c (Chris Vandomelen)
# OK, so I have a tendency to make lots and lots of bug fixes in big spurts..
2000-10-22 07:54:49 +00:00
Chris Vandomelen
4f1a8a763a
Oops, forgot to remove those .. thought I had..
2000-10-22 06:46:43 +00:00
Chris Vandomelen
0646a49386
Corrected some bugs dealing with compile failures (should now compile
...
on most varieties of Linux, and should hopefully fix at least 3 of the
compile errors that were discovered). Also modified read() slightly
to take an optional parameter as to whether the data was binary or
text so it wouldn't stop reading on a newline or null byte received.
@- Made read() binary-safe in sockets.c (Chris Vandomelen)
@- Attempted fixing some compile failures (Chris Vandomelen)
# Hopefully someone will attempt to compile this on other systems, I
# have no access to other platforms to compile it on ....
2000-10-22 06:45:03 +00:00
Daniel Beulshausen
1d582b8829
added missing def.
2000-10-21 21:17:31 +00:00
Andi Gutmans
4d676fe9d8
- including php.h automatically includes the PHP config file.
2000-10-21 19:18:55 +00:00
Stig Venaas
4edb210028
Made array_unique use array_type_data_compare instead of array_data_compare
2000-10-21 18:12:30 +00:00
Stig Venaas
508d1993ed
Added array_type_data_compare which is like array_data_compare but
...
compares type first. Also rewrote array_intersect and array_diff,
so that the order is not changed.
@- Made array_intersect and array_diff not alter order (Stig Venaas)
2000-10-21 17:48:11 +00:00
Daniel Beulshausen
a953b5ae4d
i'm sure this should be ibase_query :)
2000-10-21 17:38:08 +00:00
Daniel Beulshausen
bef776742c
i can find no php_config.h on win32 :)
2000-10-21 17:19:23 +00:00
Daniel Beulshausen
9224f8e211
made yaz compile under windows
2000-10-21 14:18:28 +00:00
Rasmus Lerdorf
d12c4de6ba
Fix annoying $withval interaction in GD configure stuff
2000-10-21 12:03:52 +00:00
Rasmus Lerdorf
04f0f0b12c
Gremlins?
2000-10-21 12:03:09 +00:00
Andreas Karajannis
7d3b7d7cb2
Config Patch for DBMaker
2000-10-21 11:11:11 +00:00
Daniel Beulshausen
6337c12473
make libmysql compile under win
2000-10-21 10:14:09 +00:00
Sebastian Bergmann
8f280b2656
Removed files from Win32 workspace that were removed in libmysql 3.23
2000-10-21 06:55:08 +00:00
foobar
c663980808
Now checks that the library really exists even if path is specified as /usr
...
PR: 7358
2000-10-21 00:35:10 +00:00
Sascha Schumann
8fe7cf26fc
Add explicit format string
2000-10-20 23:39:16 +00:00
MySQL Team
a2dbb10eb1
Update libmysql to 3.23 version. No major changes visible to the user - mostly
...
bug fixes and other maintenance-oriented changes.
2000-10-20 22:26:48 +00:00
Nikos Mavroyanopoulos
ebaf484830
updated for the new sqlcli
2000-10-20 21:01:31 +00:00
Frank M. Kromann
4682a3fe95
Fixing bug #6000
...
Return the full content for datetime colums
Make the same fix for smalldatetime
2000-10-20 20:58:57 +00:00
Frank M. Kromann
2c874f745d
Fixing bug #6000
...
Return the full content for datetime colums
2000-10-20 20:49:35 +00:00
Stig Venaas
094d01148a
Made ldap_connect() accept URL in host parameter when using OpenLDAP 2.x.
...
@- Made ldap_connect() accept URL in host parameter when using OpenLDAP
@ 2.x. To use SSL, use ldaps://host/ as URL. (Stig Venaas)
2000-10-20 20:22:59 +00:00
Frank M. Kromann
a2cb42039f
Fixing bug in mssql_fetch_object() and mssql_close()
2000-10-20 19:55:03 +00:00
Andrei Zmievski
7b4983c8f8
Mega-patch to get better resource information for modules.
...
* Fixed a bug in zend_rsrc_list_get_rsrc_type()
* Switched register_list_destructors() to use
zend_register_list_destructors_ex() instead
* Updated all relevant modules to provide the resource type name
to register_list_destructors() call
* Updated var_dump() to output resource type name instead of number
@- Made resource type names visible, e.g. var_dump() and
@ get_resource_type() display "file" for file resources. (Andrei)
2000-10-20 18:25:16 +00:00
Sterling Hughes
6b8faeb1f2
Fix CURLOPT_REFERER.
...
@ Added the curl_getinfo() function to find out information about a CURL
transfer. This function requires cURL 4.0 or above. (Sterling)
@ Added the CURLOPT_KRB4, CURLOPT_INTERFACE, CURLOPT_QUOTE,
CURLOPT_POSTQUOTE, CURLOPT_QUOTE and CURLOPT_HTTPPROXYTUNNELL options.
(Sterling)
2000-10-20 04:57:14 +00:00
Derick Rethans
6cfcf6e010
- Removed the shm_* aliases
...
@- Removed the shm_* aliases, only the smhop_* function wiil be
@ supported (Derick)
#I'll change the NEWS file as soon as it has been rebuild
2000-10-19 23:14:51 +00:00
Derick Rethans
2c05a539e5
- Renamed the shm_ to shmop_ and created aliases for the old shm_
...
functions
@- Renamed the shm_* functions to shmop_* and added aliases for the
@ old functions (Derick)
2000-10-19 22:50:41 +00:00
Sascha Schumann
1d9acd8337
Hack for #7262 , not fixed yet
2000-10-19 17:40:56 +00:00
Joey Smith
78493a1b03
Use sybct for INI values.
2000-10-19 17:03:25 +00:00
Joey Smith
52fc5f0cd3
Fix compiler warnings.
2000-10-19 16:10:41 +00:00
Joey Smith
dc44e06eeb
Fix #7338 .
2000-10-19 16:09:30 +00:00
Sascha Schumann
57dcb93324
Remove left over ext_skel comment
2000-10-19 14:34:03 +00:00
Rui Hirokawa
e8967fdc58
fixed a mistake. should be .
2000-10-19 12:10:59 +00:00
Chuck Hagenbuch
f9606d82fa
add an optional parameter to imap_sort to specify a search program that
...
messages must match to be included in the sorted list.
2000-10-19 01:32:50 +00:00
Rui Hirokawa
6eb45b5964
modified the configure scripts to make shared extension.
2000-10-18 22:17:41 +00:00
Sascha Schumann
9f71179ca9
Back out circular references protection patch.
...
This causes problems with serializing regular variables and object
properties.
We need a smarter way to tell whether we have serialized one node
already.
PR: #7291 , #7294
2000-10-18 18:32:32 +00:00
Andrew Skalski
23defd97e9
fixed logic error in the get parameters stage of mcal_list_alarms
2000-10-18 14:24:20 +00:00
foobar
7a54e0b10c
Fixed crash (bus error) in readdir() and session cleanup when compiled
...
with Sun CC.
2000-10-18 14:14:14 +00:00
Stig Venaas
33d15279ac
Removed some zval_dtor calls. There were two more than needed, and I had
...
just added two more...
2000-10-18 13:41:42 +00:00
Stig Venaas
afdf0e759f
Added some missing zval_dtor calls in php_fsockopen()
2000-10-18 13:21:08 +00:00
Stig Venaas
2da9a94d38
Added destruction of return value parameter, and using ZVAL_LONG and
...
ZVAL_STRING to set return value in ldap_get_option.
2000-10-18 07:47:51 +00:00
Nikos Mavroyanopoulos
2ecce2dc35
corrected authors notice
2000-10-18 07:25:26 +00:00
Nikos Mavroyanopoulos
5386c05cd1
Added the mhash HMAC functionality. Now the mhash function can use
...
keyed hash by added the key as an extra parameter to the function.
2000-10-17 19:43:49 +00:00
Jouni Ahto
68b899ce26
(ibase_execute) - Oops, trying to free a little bit too much. Maybe fixes
...
#6721 , #7117 , #7278 .
# Shouldn't have 6 versions of interbase.c lying around. Can't always
# remember which versions were tested, which ones committed and which ones
# actually in CVS... :(
2000-10-17 17:46:14 +00:00
Chuck Hagenbuch
13fa52b881
spaces to tabs. do we have a standard on this?
2000-10-17 17:31:37 +00:00
Chuck Hagenbuch
e058cb0648
fix imap_fetchstructure(). msgindex is not valid if we're using FT_UID;
...
always use Z_LVAL_PP(msgno) in the actual c-client function call.
2000-10-17 16:11:26 +00:00
Stig Venaas
ffbd2367e7
Added ldap_get_option() and ldap_set_option() functions
...
@- Added ldap_get_option() and ldap_set_option() functions (Stig Venaas)
2000-10-17 16:06:04 +00:00
Chuck Hagenbuch
9e693657d9
replace fixed-size buffers for username and password with dynamically
...
allocated strings in the MCAL extension.
2000-10-17 15:52:04 +00:00
Stig Venaas
0b59e4b821
Removed some redundant convert_to_*_ex() calls. Edited some whitespace.
2000-10-17 15:51:04 +00:00
foobar
6e09d7cb53
*** empty log message ***
2000-10-17 15:42:05 +00:00
Andreas Karajannis
e8861e6d20
Added support for SAP DB
2000-10-17 15:23:18 +00:00
Sascha Schumann
d95bc9b3eb
Initialize tags properly.
...
Submitted by: Andreas Karajannis <Andreas.Karajannis@gmd.de>
2000-10-17 14:17:21 +00:00
Sascha Schumann
2d24f03033
Back out ws changes
2000-10-17 03:02:47 +00:00
Sascha Schumann
7c0ba95806
fix indentation
2000-10-17 02:50:15 +00:00
Rasmus Lerdorf
b3fb8a6e97
Aha, Sascha made a mistake! ;)
...
Make this thing compile again without trans-sid
2000-10-16 22:12:28 +00:00
Daniel Beulshausen
1f245a6f73
make compile again
2000-10-16 20:08:27 +00:00
Sascha Schumann
1c85ad029b
Enable users to set the HTML tags to rewrite
...
through a configuration directive
2000-10-16 17:25:36 +00:00
Daniel Beulshausen
8f5e25598a
include php.h to have VIRTUAL_DIR defined this
...
should fix bugs where the ttf functions won't
find the font in the actual working dir
# like under windows :)
2000-10-16 13:55:47 +00:00
Rui Hirokawa
4de105ae4a
added a option to use the truetype string handling function in gd.\n it is useful for japanese because the truetype string function in gd supports some japanese encodings.
2000-10-16 13:50:30 +00:00
Daniel Beulshausen
4086197d95
fixes bug 7055 & 7235
2000-10-16 10:35:43 +00:00
foobar
d282abf2df
Changed to look also for liblber.so (sometimes there are only shared libs)
...
Fixes bug 6072.
2000-10-15 22:53:43 +00:00
David Eriksson
f6b66196e1
Updated build instructions, changed E_ERRORs to E_WARNINGs
2000-10-15 17:27:29 +00:00
Marko Karppinen
cd7dae0676
We don't support FreeType 2 - let's stop pretending we do
2000-10-14 23:04:26 +00:00
foobar
e6d03e7a3e
config.m4
2000-10-14 22:48:38 +00:00
Hartmut Holzgraefe
545ae277bc
post handler registration done right
...
(never use emalloc in an extension MINIT function)
2000-10-13 12:13:35 +00:00
Hartmut Holzgraefe
6d5f1d97f8
now it works for me as CGI and APXS, with or without --enable-debug ...
2000-10-13 10:04:17 +00:00
Daniel Beulshausen
6fb51171c8
compile fixes & update of win32 dsp
2000-10-13 09:13:01 +00:00
Hartmut Holzgraefe
cae27179ce
fopen wrappers cleanup
...
- comfiguration is now done by an ini parameter
instead of a compile time option
- the implementations of the three standard wrappers
now live in seperate files in ext/standard
- the compiler is happy again, no more warnings
2000-10-13 00:09:31 +00:00
Sascha Schumann
3ee228371d
Let strtr() use smart_str to reduce complexity
2000-10-12 01:26:26 +00:00
Sascha Schumann
174253123e
Rewrite php_str_to_str using the smart_str API.
...
This removes much complexity from the function.
Speed is improved by pre-allocating memory instead of reallocating
the buffer each time the pattern is found.
2000-10-12 00:50:28 +00:00
Sascha Schumann
82d199b639
Move structure definition into its own file, so that public header
...
files don't need to include the complete source code.
2000-10-12 00:48:12 +00:00
Hartmut Holzgraefe
22e48a814a
@ - POST handler for Adobe FDF format (Hartmut)
...
the FDF handler is now working and totaly living
in the fdf extension, no more special code in
main is needed
2000-10-11 22:44:15 +00:00
Hartmut Holzgraefe
5423a08558
@ -read and write .gz-files transparently on glibc based systems
...
@ using the 'zlib:' fopen wrapper (Hartmut)
2000-10-11 22:40:22 +00:00
Nikos Mavroyanopoulos
3156be3fa6
fixed some includes and removed an unneeded file.
2000-10-11 20:32:04 +00:00
Nikos Mavroyanopoulos
68683825ad
corrected typo
2000-10-11 20:26:09 +00:00
Sascha Schumann
d2d5320ee8
Add session_write_close(). This is primarily intended to enable
...
script writers to release the lock associated with the session lock
before the request finishes.
You can pass arrays now to session_set_save_handler(), so that the handlers
can be located in an object for better abstraction.
2000-10-11 19:47:15 +00:00
Zeev Suraski
dea72ba6a4
Added mysql_escape_String()
2000-10-11 18:27:21 +00:00
Zeev Suraski
ac0880fd8f
Remove conflict
2000-10-11 18:00:18 +00:00
Nikos Mavroyanopoulos
c834cbba59
Corrected a wrong include
2000-10-11 17:05:18 +00:00
Nikos Mavroyanopoulos
98038f8228
Added support for Ovrimos SQL Server.
2000-10-11 16:54:23 +00:00
Hartmut Holzgraefe
f2ddc10685
proto typo fixes
2000-10-11 13:51:32 +00:00
Hartmut Holzgraefe
0b7745d713
added protos
2000-10-11 13:34:42 +00:00
Zeev Suraski
8fc4200414
Old PostgreSQL fix I forgot to commit, and NEWS consistency update
2000-10-11 13:27:21 +00:00
Hartmut Holzgraefe
332b7125de
added missing protos
2000-10-11 11:40:29 +00:00
Hartmut Holzgraefe
be19c812ab
added some missing protos
2000-10-11 11:25:13 +00:00
Hartmut Holzgraefe
8716039dec
protos fixed
2000-10-11 10:46:53 +00:00
Daniel Beulshausen
814639b2fc
make windows compile
2000-10-11 09:17:10 +00:00
Sterling Hughes
8759dcc0ce
Fix compilation, I wonder when these were omitted??
2000-10-10 20:51:32 +00:00
Derick Rethans
a03858c40b
- Reserved the patch
...
# Please check if it works, as I'm not be able to test it
# Blame CaPS for this one :)
2000-10-10 16:58:27 +00:00
Uwe Steinmann
e9ba352023
- added optional argument pdf_show_boxed() to determine if text is
...
actually shown or not.
2000-10-10 07:42:55 +00:00
Andrei Zmievski
ab0f48d506
Fix compiler warnings.
2000-10-09 19:18:42 +00:00
Andrei Zmievski
a193c9ce3e
Fix a misconfiguration error and missing return statement.
2000-10-09 19:10:39 +00:00
Derick Rethans
92b3dd06e3
- Made ora_close return values like it should (thanks to james@php.net and
...
mathieu@gginter.net )
2000-10-09 18:45:56 +00:00
Chuck Hagenbuch
046ecab96f
revert patch. Sablot won't build anymore, at least in combination with zlib.
2000-10-09 18:32:37 +00:00
Hartmut Holzgraefe
86f2ad3017
I SHALL NOT TOUCH A RELEASE CANDIDATE!
...
I SHALL NOT TOUCH A RELEASE CANDIDATE!
I SHALL NOT TOUCH A RELEASE CANDIDATE!
(previous patch reverted)
2000-10-09 15:24:26 +00:00
Hartmut Holzgraefe
bbc37db2f3
added support for GNU-specific domainname field in uname
2000-10-09 15:12:34 +00:00
Chuck Hagenbuch
85d125c22c
No comment on this, so I'm guessing it's okay.
2000-10-09 14:51:17 +00:00
Zeev Suraski
9103cae5e5
Fix bug #6447
2000-10-09 11:48:16 +00:00
Daniel Beulshausen
d667e05543
more cleanup of info code
2000-10-08 11:45:18 +00:00
Daniel Beulshausen
990a86615d
only beautifying
2000-10-08 10:55:09 +00:00
Sascha Schumann
683ce541c8
Move static declaration to source file.
2000-10-07 20:46:30 +00:00
Thies C. Arntzen
6b5441c30f
@- Fixed returning of empty LOB fields in OCI8. (Thies)
2000-10-07 09:10:54 +00:00
Andi Gutmans
31a5160a0a
- Add calendar to default Win32 build.
2000-10-06 00:03:02 +00:00
Andi Gutmans
9ece8612b8
- Add FTP extension to default Win32 build
2000-10-05 23:25:41 +00:00
Rasmus Lerdorf
348079bc3f
Get ext_skel working again
2000-10-05 20:48:12 +00:00
Andi Gutmans
fb2c23645b
- Clean-up original code and add to NEWS.
2000-10-05 18:26:54 +00:00
Brendan W. McAdams
5ab813e1b6
Updated email address to reflect my php.net address.
...
I am no longer associated with Plexus InterActive (my plexmedia.com address) so
the old address is no longer any good.
2000-10-05 18:20:06 +00:00
Alexander Feldman
791cda209c
Fixed posix_addlimit() when adding the string "unlimited" to the result.
...
Now the posix_getrlimit() function does not cause core dump.
2000-10-05 18:06:55 +00:00
Jouni Ahto
f06ee6bdba
- List entry types should be true globals.
2000-10-05 12:47:39 +00:00
Joey Smith
8538f86ac1
Add more missing protos and make folding style closer to mysql module.
2000-10-05 02:40:53 +00:00
foobar
b3450c2246
Now it really checks that libxml version is >= 2.0
2000-10-05 00:51:46 +00:00
Sascha Schumann
47dfaf232f
Use ZEND_DECLARE_MODULE_GLOBALS instead of equivalent #if ZTS/#else/#endif
...
construct.
2000-10-04 23:11:07 +00:00
Sascha Schumann
5674f1be45
Ignore close tags and use unsigned char type.
2000-10-04 18:06:20 +00:00
Sascha Schumann
da6c94f73b
typo
2000-10-03 21:56:21 +00:00
Sascha Schumann
cc415d699e
#include "ext/standard/php_string.h" to get php_memnstr().
2000-10-03 18:52:46 +00:00
Andi Gutmans
a1abfb7643
- Fix dirname()
2000-10-03 16:47:25 +00:00
Sterling Hughes
e97718461b
Fix some small issues.
2000-10-03 15:51:39 +00:00
Andi Gutmans
d37b140601
- Fix VC++ warning
2000-10-03 14:43:04 +00:00
Rasmus Lerdorf
ff9946b264
Add --with-imap-ssl to support SSL'ized imap library in RH7 and others
...
@Add --with-imap-ssl to support SSL'ized imap library in RH7 and others
@(Rasmus)
2000-10-02 22:16:53 +00:00
Andi Gutmans
bf7603cf83
- Now really fix it.
2000-10-02 18:13:53 +00:00
Andi Gutmans
28c96e89e1
- Fix bug in parse_url()
2000-10-02 17:51:30 +00:00
Rasmus Lerdorf
b189759bcd
Clean up the alignment of configure --help output
2000-10-02 17:36:01 +00:00
Daniel Beulshausen
7482eb6adc
fixed unresolved externals.
...
# it compiles fine now, and php loads the extension fine
# but there must be definetly something with the paths
# cause mcrypt doesn't want to load any alogrithm
2000-10-02 11:00:54 +00:00
Sterling Hughes
82070f1cdf
Tiny change in copying of buffer.
2000-10-02 04:55:26 +00:00
Derick Rethans
58294f67d2
@- Added the shmop extension. It allows more general ways of shared memory
...
@ access. (thanks to Ilia Alshanestky <iliaa@home.com> and Slava Poliakov
@ <slavapl@mailandnews.com> (Derick)
2000-10-01 15:06:04 +00:00
Daniel Beulshausen
0960b3618f
snmp win extension
2000-09-30 17:39:13 +00:00
Daniel Beulshausen
ef1dea5e1e
uses php.h define
2000-09-30 16:32:11 +00:00
Andi Gutmans
3f80efd660
- Cleanup output functions
2000-09-30 16:14:54 +00:00
Andi Gutmans
2622eba31d
- Cleanup some output functions
2000-09-30 16:13:48 +00:00
Daniel Beulshausen
499507ca0e
added dsp for the filepro extension
2000-09-30 15:57:45 +00:00
Daniel Beulshausen
1c4207a1f8
made win32 compile
2000-09-30 13:32:25 +00:00
Daniel Beulshausen
c7c8ed155c
removed zendts.lib from link options
2000-09-30 13:29:20 +00:00
Daniel Beulshausen
8ef9700499
cleanup
2000-09-30 13:25:41 +00:00
Daniel Beulshausen
53e1e33045
fix not producing valid extension
2000-09-30 13:24:16 +00:00
Sterling Hughes
85e2dc34d5
leftovers.
2000-09-30 04:50:39 +00:00
Sterling Hughes
1e6ae4496b
Buncha changes, generally makes the module more stable and removes unnecessary
...
(as of Sablotron 0.44) workarounds.
2000-09-30 04:44:33 +00:00
Sterling Hughes
36dc3e1c20
@ Added the ability for CURLOPT_POSTFIELDS to accept an array of HTTP post
...
parameters. (Sterling)
@ Added the CURLOPT_HTTPHEADER option that allows for the posting of HTTP
headers to a remote site from cURL. (Sterling)
@ Add the curl_error() and curl_errno() functions. (Sterling)
Buncha other changes...
- Changed if () else if () in curl_setopt to switch .. case
- Fixed a couple crashes in certain cases.
- Finally a decent error reporting scheme.
- A few formatting changes.
2000-09-30 03:09:54 +00:00
Sascha Schumann
11c88a0ff5
Return SUCCESS from write handler, if vallen is 0.
...
Submitted by: tcarroll@chc-chimes.com
PR: #6958
2000-09-29 21:44:45 +00:00
Dan Kalowsky
ca1b12c5a1
corrected lines for Solid 2.3 systems after some advice from users, please test...
2000-09-29 19:03:23 +00:00
Sascha Schumann
4b89b67d1c
Don't try to serialize references.
...
Circular references would otherwise kill PHP, as the serializer
would overrun the stack.
2000-09-29 18:48:40 +00:00
Hénot David
a68a224efd
Added clean up code for persistent connections to avoid some problems with
...
autocommit.
2000-09-29 09:29:06 +00:00
foobar
5844b74e22
Fix configure (with Solaris).
2000-09-28 23:46:15 +00:00
Daniel Beulshausen
7fdb466d14
a little cleanup
2000-09-28 20:29:39 +00:00
Daniel Beulshausen
23b14d4cfb
added tsrm dir to include path
2000-09-28 20:26:31 +00:00
Daniel Beulshausen
eba5d76078
removed ignoring msvcrt(d) libary
2000-09-28 20:25:03 +00:00
Daniel Beulshausen
97089c0370
major cleanup
...
# but still doesn't work for me
2000-09-28 20:22:57 +00:00
foobar
aee1a49287
@- Changed ext/db not to be enabled by default (Jani)
2000-09-28 20:09:23 +00:00
Frank M. Kromann
e048e34e80
Having odbc_tables() and odbc_columns() match the documentation with parameters optionel from the right
2000-09-28 16:42:04 +00:00
Andi Gutmans
3e0d46d222
- Fix build of db2
2000-09-28 13:08:14 +00:00
Stefan Roehrich
045ee57f04
Line seems to be missing and causing configure test failures for other extensions.
2000-09-28 09:37:30 +00:00
Sascha Schumann
2e4ab68995
Automatic conversion might cause interpretation of 0xff as EOF, so we store
...
the result in an object of type int first.
Submitted by: melchers@cis.fu-berlin.de
2000-09-27 16:08:26 +00:00
Sascha Schumann
3823ad3ec0
Recognize single quotes around cdata.
...
Move smart_str functions to an extra file.
2000-09-27 15:26:39 +00:00
Sascha Schumann
5bf4e7857d
Clean up STR_CAT macro (it is still ugly)
2000-09-27 15:24:09 +00:00
Sascha Schumann
1cc3e6b5e6
Move php_memnstr to the header file, so that the function body is available
...
in all compilation units (note the static linkage).
2000-09-27 15:18:00 +00:00
Daniel Beulshausen
5b6d752119
fixed tsrm dir, little cleanups
2000-09-26 13:17:21 +00:00
Daniel Beulshausen
b8dabd3fb8
removed redefines
2000-09-26 12:05:37 +00:00
Daniel Beulshausen
77e7617654
cleanup, added configurations for ssl as well
2000-09-26 11:51:31 +00:00
Daniel Beulshausen
58d8ab855f
cleanup
2000-09-26 11:34:10 +00:00
Sascha Schumann
7db874096e
Unify memory allocation in smart_str functions
2000-09-26 11:00:39 +00:00
Sascha Schumann
d959c647e2
Remove superflucious variable
2000-09-26 11:00:02 +00:00
Stanislav Malyshev
9ff7f19e32
Add URL support for GD
2000-09-26 09:08:02 +00:00
Joey Smith
12aca26b5b
Add protos from sybase DB Library.
2000-09-26 07:38:47 +00:00
foobar
0f3ef58fa3
No more empty '-l' caused by this extension.
2000-09-22 00:59:16 +00:00
Stig Venaas
9a9e2e72b0
Small fix to the literal IPv6 parsing, now stops at first ] after [
2000-09-22 00:33:55 +00:00
Stig Venaas
0776f7d3d7
Parsing of URLs with literal IPv6 addresses, see RFC 2732
...
@- IPv6 support in fopen (one can access IPv6 ftp/web servers) (Stig Venaas)
2000-09-22 00:12:00 +00:00
Brian Moon
09e00183bd
added mysql_fetch_assoc. Acts like mysql_fetch_array used to.
2000-09-20 21:43:57 +00:00
Sascha Schumann
854c0622f0
Cleanup SCANNER_DEBUG and don't NUL terminate work buffer
2000-09-20 08:59:52 +00:00
Sascha Schumann
cfa22547e0
Use emalloc and friends. Since we reuse all buffers, this does not affect
...
the speed.
The smart_str_* functions don't NUL terminate strings anymore. We can
rely on the length of the strings completely.
2000-09-20 08:40:33 +00:00
Sascha Schumann
16d7cb88fa
Remove this pseudo optimization from the previous rewrite.
...
Since we leave/enter the loop more often, the cost of maintaining
c_arg/c_val is higher than simply copying the tag/arg string once.
2000-09-20 08:13:45 +00:00
Sascha Schumann
f27f790f29
Another 5%-10% speed increase achieved by
...
- making ctx->val read-only
- adding a special appendc function for appending single characters
2000-09-20 08:06:01 +00:00
Joey Smith
e5bb148d4e
le_link and le_plink are no longer part of the sybase_globals.
2000-09-20 04:12:03 +00:00
Sascha Schumann
7aa23d3ca3
Add support for URLs containing NAME info (for scrolling; #name).
2000-09-20 02:04:19 +00:00
Sascha Schumann
9c6414d6fa
Deactivate E_NOTICE message on gc
2000-09-20 01:38:39 +00:00
Sascha Schumann
cd9ab22f84
Rename prototype to currently used name. These stupid names will go away once
...
the transition periode ends.
2000-09-20 01:25:19 +00:00
Sascha Schumann
07e71ce1f1
s/url_scanner.h/url_scanner_ex.h/
2000-09-20 01:22:55 +00:00
Sascha Schumann
61dc840cdd
Make the new url scanner the default.
...
If there are any problems (especially with characters > 127), let me know.
2000-09-20 01:22:17 +00:00
Sascha Schumann
a2dc8a2fa5
2nd Rewrite of the main scanner engine. This version is cleaner and faster.
...
It handles the following tags currently:
<FRAME .. SRC=URL ..>
<INPUT .. TYPE=IMAGE SRC=URL ..>
<A .. HREF=URL ..>
<AREA .. HREF=URL ..>
<IMG .. SRC=URL ..>
Additional ones can be added within seconds.
The support for HTML forms has been significantly improved. The scanner
will now add proper Hidden Fields for the Session ID.
2000-09-20 01:15:10 +00:00
Sascha Schumann
cc53ad5166
Reduce the amount of copying in the mainloop. We copy tag/arg only, if we
...
need to preserve them for a new loop iteration (after we leave mainloop).
Otherwise, we can just let them point to the work area.
2000-09-19 20:19:03 +00:00
Sascha Schumann
dd59d14805
Revert part of last commit. I'll refine it later.
2000-09-19 19:18:41 +00:00
Andi Gutmans
c54047b0b0
- Change to Z_BVAL macro
2000-09-19 18:19:02 +00:00
Sascha Schumann
a7ef1966ac
Another speedup by avoiding string copies.
...
15% speed gain in test case (rewriting 1M URLs).
2000-09-19 18:17:28 +00:00
Sascha Schumann
95ae21ff1b
Remove nextiter label
2000-09-19 18:01:29 +00:00
Sascha Schumann
7f86b7224c
s/DEBUG/SCANNER_DEBUG/. "Convert" one macro to inline function to be more
...
consistent. Also use continue.
2000-09-19 18:00:58 +00:00
Zeev Suraski
5b0ca1585a
Fix a few build bugs, still no go
2000-09-19 17:53:09 +00:00
Sascha Schumann
51498e1d3f
Kill warning
2000-09-19 17:46:23 +00:00
Sascha Schumann
e07e19f271
The rewrite was completely authored by Hartmut
2000-09-19 17:45:44 +00:00
Sascha Schumann
e2efb3cf06
Remove unnecessary include directive
2000-09-19 17:39:43 +00:00
Zeev Suraski
c45b1c2c8b
- Fix warnings
...
- Fix URL scanner startup crash
2000-09-19 17:37:34 +00:00
Sascha Schumann
4b3fb7b05e
Add new URL scanner. This version is up to 20% faster. It will be
...
enabled by default once I'm sure that it works in every case.
To enable it, apply s/url_adapt_ext/url_adapt_ext_ex/ to session.c
2000-09-19 17:32:27 +00:00
Sascha Schumann
2ec043606b
*** empty log message ***
2000-09-19 17:22:37 +00:00
Sascha Schumann
e986a4b0a3
Fix RINIT/RSHUTDOWN functions and add url_adapt_ext()
2000-09-19 17:21:26 +00:00
Stanislav Malyshev
08e1c852aa
Fix decbin
2000-09-17 21:11:55 +00:00
Stanislav Malyshev
27fb7df0d2
Add empty string checks to add?slashes
2000-09-17 09:15:48 +00:00
Zak Greant
e9d946d374
Thought that I had just committed something really stupid.
...
On closer inspection, realized that the proto comments
for chown and chgrp were reversed. :)
I did not realize this and had only fixed chown previously
2000-09-16 05:10:03 +00:00
Zak Greant
e7b0cd7ad2
trivial change
...
corrected mistake in proto comment for chown fold
2000-09-16 05:02:06 +00:00
Chris Vandomelen
322891a2dd
Changed assignment in read() to be more sane.
2000-09-15 23:44:30 +00:00
Joey Smith
618bfebfaf
Remove CVS conflict. Zeev, I assume you wanted context inside the globals?
2000-09-15 20:54:42 +00:00
Sam Ruby
17332d6b21
Indicate the Sun's JDK 1.2.2 now works...and complete a sentence.
2000-09-15 18:06:18 +00:00
Chris Vandomelen
d3ca6394eb
Corrected memory leak in read().
2000-09-14 21:48:15 +00:00
Andrei Zmievski
da3c43182a
Fix warnings.
2000-09-14 20:22:02 +00:00
Andrei Zmievski
b111463f4c
Fixed bug #6740 .
...
I happen to think that this is php_addslashes() problem, not PCRE's.
When 0 is passed for the length of the string to php_addslashes() it
assumes that we want to process the whole string and happily runs
strlen() on it. That is bad. It should respect the length and return
an empty string if it's 0.
2000-09-14 15:44:36 +00:00
Chris Vandomelen
ce46ccd32b
Added prototypes for socketpair() and shutdown(), and corrected an obvious
...
bug in socketpair (causing it to not return the created sockets to the PHP
script.)
2000-09-13 23:33:39 +00:00
Derick Rethans
c7d31495bf
- Added ftp_exec to the ftp functions (thanks to <jhennebicq@i-d.net>)
...
@ Added ftp_exec to the ftp functions (thanks to <jhennebicq@i-d.net>)
@ (Derick)
2000-09-13 22:00:31 +00:00
Andrei Zmievski
a6bb6f5df3
Create module info function.
2000-09-13 20:58:19 +00:00
Andrei Zmievski
09ac5ed748
Really fix the de-allocation.
2000-09-13 15:31:50 +00:00
Andrei Zmievski
84908add07
Fixed block overrun.
2000-09-13 13:55:35 +00:00
Andi Gutmans
526d45e95f
- The Sprit of PHP is to have descriptive function names and not
...
necessarily short ones. Maybe we should have some FAQ for this?
2000-09-13 04:13:36 +00:00
Rui Hirokawa
4ffaf35556
updated some functions'name using obsolete name convention.
2000-09-12 23:19:58 +00:00
Zeev Suraski
5d97102f8f
@- Made the Sybase CT module thread safe (Zeev)
2000-09-12 20:54:36 +00:00
Zeev Suraski
6c3d7449e1
- Made eval() and several other runtime-evaluated code portions report the
...
nature and location of errors more accurately (Stas)
2000-09-12 20:48:33 +00:00
Andrei Zmievski
5470222d70
Forgot to update proto.
2000-09-12 19:04:50 +00:00
Andrei Zmievski
34574352be
@- Added second argument to array_reverse() that indicatese whether
...
@ the original array keys should be preserved. (Andrei)
2000-09-12 19:03:59 +00:00
Daniel Beckham
b852f3941f
reversed chomp alias addition as per Andi Gutmans' request
2000-09-12 19:00:21 +00:00
Rasmus Lerdorf
75d73aaffb
# missed proto comments
2000-09-12 17:24:46 +00:00
Rasmus Lerdorf
d23ad61dc3
Clean up htmlspecialchars/htmlentities inconsistencies.
...
@Clean up htmlspecialchars/htmlentities inconsistencies. (Rasmus)
2000-09-12 17:22:37 +00:00
Daniel Beckham
5925071957
added chomp() alias for chop() for us Perl purists.
2000-09-12 15:54:10 +00:00
Stanislav Malyshev
44e04f7688
Make parse_str always register globals with 1 argument and never -
...
with 2 arguments
2000-09-12 10:56:25 +00:00
Stanislav Malyshev
e0a5a4813e
A quick attempt to make parse_str($str,$arr) not register globals.
2000-09-12 10:54:45 +00:00
Andi Gutmans
49cb1d620b
- Always use V_* macros even if logic seems to be only using fullpath.
2000-09-12 04:18:20 +00:00
Andi Gutmans
88b469203c
- Fix bug #5997
2000-09-12 04:13:21 +00:00
Jouni Ahto
0c1620840f
- Renamed functions so that this extension finally starts to follow the
...
recommended naming scheme of PHP.
2000-09-11 21:28:47 +00:00
Derick Rethans
71066c12dc
- Fix for bug #6673
...
- Added a "cut" option to wordwrap (as per feature request #6429 )
@ Added an optional parameter to wordwrap that cuts a string if the length
of a word is longer than the maximum allowed with (Derick)
2000-09-11 20:06:24 +00:00
Andi Gutmans
4b243ebeeb
- Remove #if 0 code
2000-09-11 19:04:23 +00:00
Andi Gutmans
824fc6a084
- Move php_open_temporary_file() out of file.c
2000-09-11 18:56:47 +00:00
Jouni Ahto
d9e180b9b7
- Use the same check for existence of a valid link as the other functions.
...
- Return TRUE if everything went OK.
- Fixed the number of arguments to pg_endcopy.
- Removed unused variables.
- Indentation, changed spaces to tabs.
2000-09-11 18:34:06 +00:00
Sascha Schumann
f45f6d788f
Kill a warning
2000-09-11 16:25:36 +00:00
Sascha Schumann
95d2ca8a46
Add proper struct sockaddr * casts and make use of memcpy/memset ('coz we
...
don't provide any fallbacks for bcopy/bzero).
2000-09-11 16:19:53 +00:00
Derick Rethans
68611e2d55
- Added functions pg_putline and pg_endcopy (thanks to Dirk Elmendorf
...
<delmendo@rackspace.com>)
@ Added functions pg_putline and pg_endcopy (Dirk Elmendorf)
2000-09-11 15:34:14 +00:00
Sascha Schumann
bd616da7ca
Libc5-readdir_r workaround
2000-09-11 15:24:28 +00:00
Andrei Zmievski
6ac728e179
(PHP parse_str) ParameterPassedByReference() check is not necessary.
2000-09-11 14:54:12 +00:00
Stanislav Malyshev
1ccac6ed55
Add additional parameter to parse_str for saving result (thanks to
...
John Bafford <dshadow@zort.net>)
@ Added second parameter for parse_str to save result (John Bafford)
2000-09-11 14:50:26 +00:00
Andrei Zmievski
5abacc5413
(PHP pathinfo) Fixed more typos.
2000-09-11 13:54:59 +00:00
Andrei Zmievski
5ed3e24f47
(PHP pathinfo) Fixed leaks, saved some memory allocations, added
...
more error checking.
2000-09-11 13:52:22 +00:00
Andi Gutmans
42c5a9dad7
- Should fix compile warning
2000-09-11 04:31:04 +00:00
Sterling Hughes
d44d114b75
@- Fix bug with curl places extra data in the output. (medvitz@medvitz.net)
2000-09-11 03:33:14 +00:00
Sterling Hughes
e9dd13754b
Fix compile warning.
...
Fix proto.
Change PHP_MINFO output to be consistent.
2000-09-10 23:18:11 +00:00
Stanislav Malyshev
e8f3025373
Make unpack("H") work like in Perl
2000-09-10 13:47:51 +00:00
Stanislav Malyshev
4237ddadb5
Fix pack() function reading string beyond the end
2000-09-10 13:34:03 +00:00
Stanislav Malyshev
d443fff043
Fix double unpack bug
2000-09-10 11:03:32 +00:00
Sterling Hughes
0b9a78cb1e
@- Added the pathinfo() function. (Sterling)
2000-09-10 05:59:16 +00:00
Joey Smith
f020f3eaa5
Fix compile warnings.
2000-09-10 05:35:03 +00:00
Joey Smith
1a092713d0
@- Updated sybase_ct module and its sybase_query to use high performance API.
...
(sybase_query) Use high performance API in sybase_query. Will work on the others later.
2000-09-10 05:24:30 +00:00
Joey Smith
98cb18a7d7
Use new Zend API stuff.
2000-09-10 05:13:56 +00:00
Chuck Hagenbuch
22edfd2b3b
check the range of message numbers in imap_uid.
2000-09-09 20:26:15 +00:00
Derick Rethans
242139d5ac
- Fix for bug #6586
2000-09-09 12:24:20 +00:00
Zeev Suraski
3115a0ccfe
Fix UNIX build
2000-09-09 12:02:31 +00:00
Zeev Suraski
6c4cb4c079
Security related updates:
...
- Introduce php_open_temporary_file(), in place of tempnam(). Still
needs testing under UNIX (mkstemp()), works reliably under Windows now.
- Reimplement the mechanism for unlinking uploaded files at the end of the request
(was it ever tested?). Files moved with move_uploaded_file() will not be unlink()'d
again, to avoid (albeit very unlikely) race conditions.
2000-09-09 11:41:14 +00:00
Jouni Ahto
20fe0a5685
Fixed #6627 . Wrong logic...
2000-09-09 09:40:16 +00:00
Stig Bakken
7918735b11
* compile fix
2000-09-09 01:15:50 +00:00
Zeev Suraski
3edf46ff73
Implement move_uploaded_file() (untested)
2000-09-08 22:31:21 +00:00
Zeev Suraski
fa6bb59773
Fix build
2000-09-08 22:26:07 +00:00
Andrei Zmievski
b409d2f9ea
is_uploaded_file() is probably a better name.
2000-09-08 21:58:28 +00:00
Zeev Suraski
75086e3088
- Implemented is_upload_file()
2000-09-08 21:56:47 +00:00
foobar
24b2feff63
Fixed typo. Changed php3_error to php_error.
2000-09-08 12:28:00 +00:00
foobar
4f0842663f
Changed // to /* */ comments.
2000-09-08 11:50:24 +00:00
Stanislav Malyshev
85f42b7f7a
Since we don't allow parameters for syslog, we shouln't pass the
...
string as format
2000-09-08 11:24:08 +00:00
Uwe Steinmann
81fb5a7682
- last parameter of pdf_get_parameter(), pdf_get_value() optional
...
- fixes to make it compile with sun cc
2000-09-08 06:47:04 +00:00
Stanislav Malyshev
662c6c6c06
Fix readdir bug in libc5
...
@Fix readdir bug in libc5
# If libc5 receives 0 in *result of readdir_r, it just returns error
# That's a clear bug, so this is a workaround.
2000-09-07 17:55:53 +00:00
Thies C. Arntzen
e5d8f20f17
make ZTS mode compile
2000-09-07 12:32:47 +00:00
Sascha Schumann
cb410a2f3c
Convert some more "complex" expressions manually to Z_* macros.
2000-09-06 14:25:47 +00:00
Sascha Schumann
5bbddee81e
Rename symbols whose first character was an underscore.
2000-09-06 14:16:12 +00:00
Sascha Schumann
4fb5088f89
Convert to Z_* macros
2000-09-06 14:13:31 +00:00
Thies C. Arntzen
573fe4346d
fix #6552 & #6577
...
thanx to Blake Schwendiman" <blake@intechra.net>
2000-09-06 13:50:09 +00:00
Daniel Beulshausen
0d8812b15c
added LIBGD define
...
# what's with the 'PHPAPI' on line 274 in gd.c, should it get exported?
# it currently breaks the windows build
2000-09-06 09:53:05 +00:00
Daniel Beulshausen
57a0fcbe00
fixed debug build and removed dsw
2000-09-06 09:37:04 +00:00
Daniel Beulshausen
3f6536d2b8
fix build
2000-09-06 09:15:31 +00:00
Daniel Beulshausen
2ffdb3cda4
little fix for the debug extension
2000-09-06 09:10:50 +00:00
Sascha Schumann
4eb2481830
Why make it more complex than necessary?
...
These changes should have been committed right after Zeev made the
original change to use the PHP_INI system months ago.
Instead of working around the system, we make proper use of it now.
This includes using php_alter_ini_entry(), so that we change the values
in the php_ps_globals struct indirectly.
2000-09-06 00:50:01 +00:00
Stanislav Malyshev
795083a15c
Now it should not crash, though still leaks
...
# I'll continue with it tomorrow
2000-09-05 22:42:45 +00:00
Zeev Suraski
dd0ade23cf
This fix wasn't quite right and is no longer necessary after the recent php_ini optimizations
2000-09-05 21:31:56 +00:00
Zeev Suraski
12adebbc3a
- Fix leak
...
- Remove redundant php_ini code
2000-09-05 21:18:00 +00:00
Stanislav Malyshev
20a6474eae
Fix crash
...
# This is getting worse... Seems that more work is needed
2000-09-05 19:29:03 +00:00
Zeev Suraski
eb32144902
- Remove track_vars - it is now always on
...
- Make the various $HTTP_*_VARS[] arrays be defined always,
even if they're empty
- Fix Win32 build and warnings
2000-09-05 19:06:29 +00:00
Stanislav Malyshev
3c45b97804
Try to fix session INI variables handling
...
This should also fix #6538 .
# This code gets really hairy, I do not like it,
# but it's the only working thing I could come with.
# If original creator reviews and cleans it up, it'd be great
2000-09-05 18:41:46 +00:00
Stanislav Malyshev
3fb701add0
More fixes fo ini_ handling functions
2000-09-05 18:33:02 +00:00
Colin Viebrock
6f59f8b078
str_repeat() should be able to handle multipliers of 0 gracefully, IMHO ...
...
Hope no one disagrees. :)
2000-09-05 18:25:58 +00:00
Danny Heijl
81ddcd0b2b
- back out unneeded patch (danny).
2000-09-05 18:22:01 +00:00
Rasmus Lerdorf
4a22d2e832
Add EscapeShellArg() function which turns a b into 'a b' and
...
a'b into 'a'\''b'
@Add EscapeShellArg() function (Rasmus)
2000-09-05 16:55:32 +00:00
Stanislav Malyshev
be83e732af
Fix ini_restore variable length
2000-09-05 14:23:16 +00:00
Sterling Hughes
6d53c16775
Add:
...
Support for multiple processors (re-using the old one).
Support for basic functions when a processor is in use.
2000-09-05 01:12:10 +00:00
Sterling Hughes
9f86ff884f
@Add a php.ini option session.use_trans_sid to enable/disable trans-sid. (Sterling)
2000-09-04 22:21:10 +00:00
Danny Heijl
95d92b8be0
- remove a memory leak warning and fix a crash when tempnam()
...
failed for some reason (danny).
2000-09-04 21:18:07 +00:00
Sterling Hughes
3ed5b2dadd
Convert 2 internal functions to follow naming conventions.
...
Revert small patch made earlier
2000-09-04 03:49:58 +00:00
Sterling Hughes
6a5ee2a538
If the user wants to use more than one handle reuse the old handle.
2000-09-03 19:58:12 +00:00
Andi Gutmans
e47d4fe249
- Increase buffers of output buffering to 40KB and 10KB increments which
...
makes more sense when web pages are typically like 10KB-20KB.
I think it would be best to change the reallocation algorithm at least to
redoubling when it's full instead of incrementing and possibly use
a data structure similar to Zend/zend_static_allocator which uses memory
blocks and not realloc().
2000-09-03 19:57:06 +00:00
Derick Rethans
b378ecda30
- Changed appname from "PHP 3.0" to "PHP 4.0"
...
Fix for #6517
2000-09-03 17:43:13 +00:00
Zeev Suraski
2183e2b0be
Make gcc happy
2000-09-03 15:58:50 +00:00
Zeev Suraski
48f13455be
Fix init bug
2000-09-03 15:56:54 +00:00
Sterling Hughes
7089540ec7
Just when you got something working they decide to change the API
...
on you :-).
2000-09-03 14:03:51 +00:00
Sterling Hughes
ce71143fd0
ucd -> sablot.
2000-09-03 13:31:45 +00:00
Sterling Hughes
89b77bfb47
@-Add the Sablotron extension for XSL parsing. (Sterling)
...
Folks, features include:
- Output Buffering Tie-ins
- Optional Descriptive error reporting (compile option)
- String Transformations
- File Transformations
- Logging
- SAX XML Processing support (slightly different from expat, even though
Sablotron uses expat to do the parsing.)
2000-09-03 13:00:08 +00:00
Stanislav Malyshev
a103b94876
Fix quoted_printable_decode (also should fix #6511 )
2000-09-03 09:31:25 +00:00
Stanislav Malyshev
bdde2b4303
Remove deprecated call-time reference
2000-09-03 09:12:22 +00:00
Stanislav Malyshev
a6aef18606
tests look for skipif.inc, so add it
2000-09-03 09:11:25 +00:00
foobar
436ca5d9bb
@- Fixed a bug in checkdate() which caused < 1 years to be valid (Jani)
...
# Bug #6254
2000-09-03 04:09:48 +00:00
foobar
a666910848
Fixed bug #6409 .
...
# And propably numerous other..? Either I am wrong or the documentation is.
2000-09-03 03:50:59 +00:00
Zeev Suraski
cf8e389799
@- Added support for an optional output handler function for output
...
@ buffering. This enables transparent rendering of XML through XSL,
@ transparent compression, etc. (Zeev)
2000-09-02 18:03:58 +00:00
Sam Ruby
0240a571c8
Unitialized variable causes trap on Windows
2000-09-02 15:54:18 +00:00
David Eriksson
5029ae9fe2
# corrected my e-mail address
2000-09-01 22:29:04 +00:00
David Eriksson
2ad0310fd3
- Initial submission of CORBA extension for PHP: Satellite
2000-09-01 22:10:15 +00:00
Andrei Zmievski
cd8af6aa44
@- Added support for user defined 'tick' callback functions. This helps
...
@ emulate background processing. (Andrei)
2000-09-01 16:10:17 +00:00
Sascha Schumann
607486391a
Extend HTTP headers for private-caching and add a new PHP function
...
session_cache_limiter.
Submitted by: Jon Parise <jon@csh.rit.edu>
2000-09-01 15:56:26 +00:00
Sascha Schumann
d11012e2c9
s/PATH_MAX/MAXPATHLEN/
2000-09-01 15:47:53 +00:00
Sascha Schumann
1b5fff695d
Speed up standard php encoding function and add new php_binary serializer.
2000-09-01 15:24:58 +00:00
Zeev Suraski
e065c308e9
- Fix dir.c
...
- Begin cleanup of php_error_cb()
2000-09-01 12:06:52 +00:00
Sascha Schumann
d60799bf6b
Solaris/x86 insists of having a large buffer for storing the result of
...
readdir_r(), otherwise it will segfault.
PR: #6479
2000-09-01 09:38:19 +00:00
Stig Bakken
1bb90f5805
* all tests should pass now (expect for the interbase stuff that I haven't
...
had the chance to test)
2000-08-31 22:21:47 +00:00
Andi Gutmans
e8e5c9d97e
- Remove redundant IS_SLASH
...
- Reverse config.w32.h patches
- Use IS_ABSOLUTE_PATH() in one place in fopen-wrappers.c
2000-08-31 19:49:36 +00:00
Frank M. Kromann
be78a31e2b
Attemt to fix a lot of bug reports (5582,5614,5633,60,6181,6202) on crashes with php and mssql server.
2000-08-31 19:25:31 +00:00
Stig Venaas
6e849e833f
Added detection of Netscape LDAP SDK 4.1
2000-08-31 16:46:33 +00:00
Stig Venaas
6910e92132
removed some NSLDAP #if's giving more detailed error reporting
2000-08-31 16:14:35 +00:00
Hénot David
a0084d5af9
Made ingres extension use --with--ingres instead of --with-ii.
...
Andi actualy changed only the help line.
2000-08-31 15:10:16 +00:00
Andrei Zmievski
4285af4244
@- Fixed problem with having $this as the XML parser object. (Andrei)
2000-08-31 14:09:59 +00:00
Daniel Beulshausen
74b394640d
dsp for mhash
...
# guess i'll have to add some readme's soon...
2000-08-30 21:11:09 +00:00
Daniel Beulshausen
3522012bb2
dsp for the db(m) extension
2000-08-30 21:05:50 +00:00
Colin Viebrock
9d62ac18ce
more info for phpinfo()
2000-08-30 15:52:07 +00:00
Colin Viebrock
461f50d50d
Remove single quote from HTMLSpecialChars() ... use addslashes(),
...
htmlentities(), strtr() instead.
2000-08-30 15:27:23 +00:00
Stig Bakken
168f1aacef
* added regression tests for the XML extension
2000-08-30 01:58:58 +00:00
Andi Gutmans
56498d48b4
- To configure with ingres should be --with-ingres and not --with-ii
...
- Changing it for 4.0.2 so that we don't have backwards compatibility
- problems later on
2000-08-29 18:21:07 +00:00
Thies C. Arntzen
b1d4fcb33c
fix var_dump()s "}"-indention
2000-08-29 11:09:20 +00:00
Uwe Steinmann
ed50eba46d
- updated on new zend_api
2000-08-28 15:19:23 +00:00
Uwe Steinmann
32f6eeb3bd
- fixed prototyp
2000-08-28 13:04:40 +00:00
Sterling Hughes
6e10dc5456
Fix up the implementation.
...
# it was getting hacky already.
2000-08-27 22:53:33 +00:00
Rasmus Lerdorf
fc3acfc4d5
Some minor cleanup to make W3C's tidy validator happy
2000-08-27 22:46:40 +00:00
Stig Bakken
315f4f5658
@PHP 3 regression testing framework re-born (Stig)
...
Took the old PHP 3 regression testing framework and rewrote it in PHP.
Should work on both Windows and UNIX, however I have not tested it on
Windows. See tests/README for how to write tests. Added the PHP 3
tests and converted most of them.
2000-08-27 19:46:06 +00:00
Stig Bakken
7eeda99a05
@Added php_uname() function (Stig)
...
Added php_uname() function.
2000-08-27 19:42:45 +00:00
Chuck Hagenbuch
40404d7337
fixing the license header and updating some prototypes/variable names in the
...
mcal extension.
2000-08-27 17:05:53 +00:00
Andi Gutmans
b79db079a6
- Fix possible overflow in fsockopen().
2000-08-27 04:14:47 +00:00
Daniel Beulshausen
280a79a319
added sam's readme and played with the directory's
2000-08-26 20:27:06 +00:00
Daniel Beulshausen
70ef0577a3
dsp for cybercash
2000-08-26 20:11:31 +00:00
Stig Venaas
0435c2e306
Makes it work with OpenLDAP 2.0 and reduces number of ifdefs
2000-08-26 16:20:37 +00:00
Andi Gutmans
82d7c4294c
- Also change constants. Note: PHP tries to make names intuitive.
...
- PHP extensions don't necessarily need to use the exact C counter part, it
- should be easy to read and not be short names such as II_*
2000-08-26 14:24:33 +00:00
Andi Gutmans
0e6db7dc82
- Asked the author a long time already to change the function names to
...
- something which won't take up all of the ii_* names (not verbose enough).
- I'm doing it myself now so it really has to be checked as I can't compile.
- Changed both the function names and INI parameter names.
2000-08-26 14:21:26 +00:00
Sam Ruby
a0b745a053
Add ***EXPERIMENTAL*** Zend OO Extension support for Microsoft.Net
2000-08-26 12:53:14 +00:00
Daniel Beulshausen
c9b4568f3e
updated dsp to build with custom build step
2000-08-25 21:43:01 +00:00
Daniel Beulshausen
4a474b8120
lets keep it in one dsp
2000-08-25 21:42:15 +00:00
Hénot David
83d4cbf15e
Copyright modification.
2000-08-25 15:56:41 +00:00
Andrei Zmievski
4df36948c8
@- Fixed a bug in preg_replace() that would truncate subject string if the
...
@ first argument was en empty array. (Andrei)
This fixes bug #6346 , that would truncate subject string if the
first argument was en empty array.
2000-08-25 13:51:07 +00:00
Stig Bakken
03471b21ee
@Added ob_get_length function (Stig)
...
Added ob_get_length() function (returns size of buffer)
2000-08-25 03:10:42 +00:00
Stig Bakken
6cbdaf985f
compile fix (RedHat 6.2)
2000-08-25 03:08:37 +00:00
Dan Kalowsky
b853731aaf
prefer -gt to -lt, and dropped the version number to 2 instead of 3
2000-08-24 19:27:21 +00:00
Zeev Suraski
51856230d3
Update .dsp
2000-08-24 18:58:50 +00:00
Zeev Suraski
c542f9a3f4
- Fix IMAP build problem
...
- Allow external DLLs to use warn_not_available
2000-08-24 18:49:49 +00:00
Daniel Beulshausen
04855ca11c
added the gd extension - see the comment!
...
# configuring the gd extesion is currently a mess.
# currently its configured with jpg, wbmp, png and ttf
# maybe we should think about moving that stuff to the
# config.w32.h or to a seperate gdwin32 header
2000-08-24 18:14:42 +00:00
Daniel Beulshausen
f08b599821
dsp for the win32 fdf extension
2000-08-24 17:56:38 +00:00
Daniel Beulshausen
b6f0d041f9
deleted a few unnecceasary defines and added the Release_TS_Inline path to the libpath
2000-08-24 17:48:30 +00:00
Thies C. Arntzen
d33f42d53f
beautify
2000-08-24 15:29:50 +00:00
Stanislav Malyshev
7248d68d49
Fix segfault on readline without parameters
2000-08-24 14:41:12 +00:00
Sascha Schumann
c9dfdd38a7
More complete set of (C) notes
2000-08-24 14:29:29 +00:00
Sascha Schumann
d4dd261436
Script for replacing the copyright messages
2000-08-24 14:18:36 +00:00
Andrei Zmievski
d7c43de3ce
@- Fixed a bug that did not respect limit parameter in preg_replace() when
...
@ using /e modifier. (Andrei)
2000-08-24 13:23:13 +00:00
Sascha Schumann
7ca4354c22
Typo
2000-08-24 09:02:56 +00:00
Daniel Beulshausen
2ec7ccdf4c
win32 projectfile for the curl extension
2000-08-23 16:18:28 +00:00
Daniel Beulshausen
d076f5f2d9
win32 projectfile for the dbase extension
2000-08-23 16:11:44 +00:00
Daniel Beulshausen
8a5ceac253
win32 projectfile fot the gettext extension
2000-08-23 16:00:38 +00:00
Egon Schmid
0508a61421
Changed long to int.
2000-08-23 13:47:00 +00:00
Sascha Schumann
96b221755a
-lt is preferred over \>
2000-08-23 12:59:50 +00:00
Sascha Schumann
3cb026db73
Fix library order for -lpng -lz.
...
PR: #3978
2000-08-23 12:28:48 +00:00
Stanislav Malyshev
b28f6eba38
Make parsedate build again
...
# I do not really know what's the problem with const, but I do know
# it doesn't compile when declaration and definition don't match
2000-08-23 10:54:13 +00:00
Sterling Hughes
2604cb987a
A little condensing,
...
Add an additional check to make sure port is specified with
AF_INET in connect().
2000-08-23 08:29:16 +00:00
Chris Vandomelen
91944be3f7
Corrected bugs in php_if_connect() to make it work properly -- needed to
...
run htons() on the port number provided, and needed to perform DNS lookups
properly and store the results as expected.
2000-08-23 06:41:51 +00:00
Dan Kalowsky
bee5b60a22
cleaned up the PHP/SOLID integration code, and corrected some minor assumptions on my part for the 3.5 EE systems. also removed a series of warnings on builds within the ODBC functions, and corrected header order. include of the SS_LINUX and SS_FBX defines, needed to make solid headers completely happy with the wchar.h situation.
...
THIS DOES NOT FIX BUG ID #4615
2000-08-22 21:27:49 +00:00
Zeev Suraski
ae49ebf198
'const' is problematic in code in the final section of a Bison file (Bison defines
...
it away)
2000-08-22 20:59:26 +00:00
Frank M. Kromann
adfbf4a92f
Adding ..\..\..\bindlib_w32 to include path
2000-08-22 20:46:01 +00:00
Andrei Zmievski
1955412c3d
@- Added ability for each xml_set_*_handler() function to take the
...
@ array($obj, 'method') syntax for the handler argument as well
@ as the normal function name. (Andrei)
2000-08-22 19:32:07 +00:00
Andrei Zmievski
d89c5b231c
@- Updated array_walk() to be able to accept array($obj, 'method')
...
@ syntax for the walk function. (Andrei)
2000-08-22 18:39:29 +00:00
Daniel Beulshausen
5d09d7d811
some fixes
2000-08-22 18:13:53 +00:00
Daniel Beulshausen
3af4ba7e01
projectfile for the domxml extension
2000-08-22 18:01:50 +00:00
Andi Gutmans
8ba5d5ef9c
- Remove new libmysql files
2000-08-22 18:01:28 +00:00
Andi Gutmans
0222b7ab41
- Try and revert libmysql for 4.0.2
2000-08-22 17:59:35 +00:00
Daniel Beulshausen
60676f19a5
projectfile for the clibpdf extension
2000-08-22 17:55:17 +00:00
Daniel Beulshausen
381d04e197
minor fixes
2000-08-22 15:21:01 +00:00
Daniel Beulshausen
b422c552d7
projectfile to build the sybase_ct extension
2000-08-22 15:15:10 +00:00
Daniel Beulshausen
d22ebb3cb6
projectfile to build the pdf extension
2000-08-22 15:06:55 +00:00
MySQL Team
3c049ddcdd
Interface for 'raid' files (ont in use by PHP)
2000-08-22 12:10:53 +00:00
MySQL Team
4b1380e31c
New files for MySQL 3.23.23 client library. New files are for qouting
...
using different character sets.
2000-08-22 09:02:46 +00:00
Andi Gutmans
d0e48e92b6
- Cleanup imagetransparent in the GD library
2000-08-22 04:11:57 +00:00
Chuck Hagenbuch
3a1b4fda7e
Fix a crash in imap_fetchheader(). FT_PREFETCHTEXT isn't the only flag that
...
you can pass to mail_fetchheader_full().
2000-08-22 02:35:30 +00:00
Torben Wilson
410ac013e8
Fixed segfault with fgets(), fgetcsv(), fgetss(), and fread() when
...
called with negative length argument.
2000-08-21 19:24:44 +00:00
Sascha Schumann
18ded31f4c
Remove extra tab
2000-08-21 15:05:45 +00:00
Stanislav Malyshev
4bed072f11
Fix crash in one-argument imagecolortransparent
2000-08-21 14:11:19 +00:00
Stanislav Malyshev
02feba6c05
Fix win32 build
2000-08-21 12:56:51 +00:00
Sascha Schumann
6ce467dc13
Get rid of php_global.h and the associated data types UINT4/_POINTER.
...
We use php_uint32 now globally.
Also removed K&R support from md5.[ch].
2000-08-21 10:10:31 +00:00
Sascha Schumann
8e0ae5d152
Cleaning up some mess
2000-08-21 09:50:53 +00:00
Uwe Steinmann
1bbea8d0eb
- added function fdf_set_javascript_action()
2000-08-21 09:23:37 +00:00
Derick Rethans
82115ea039
- Reversed last 'fix'
...
# Sascha suggested that it must be corrected in wuth mcal
2000-08-21 07:24:55 +00:00
Zeev Suraski
30ccec36b9
Fix build
2000-08-20 22:18:19 +00:00
Chris Vandomelen
8ef1279f2b
Added another bug fix to detect for negative values being passed into the
...
fd_*() functions, as passing negative values would cause PHP to segfault.
2000-08-20 19:48:42 +00:00
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