Commit Graph

1271 Commits

Author SHA1 Message Date
Sascha Schumann
bd62c63c3b Fixed pg_fetch_array() with three arguments.
Submitted by: brian@soda.berkeley.edu
1999-10-06 13:15:23 +00:00
Thies C. Arntzen
657edcd50e - replaced most getParamters against getParamtersEx calls
- removed ParamterPassedByReference where appropiate
1999-10-06 12:54:45 +00:00
Uwe Steinmann
0817d2a8db - as always forgot the Changelog entry 1999-10-06 05:29:18 +00:00
Thies C. Arntzen
7fe8812d3e use reference counting for emulating child<->parent (cursor<->connection) relationships. 1999-10-05 16:06:54 +00:00
Thies C. Arntzen
35e7bcbb9d dir modules is now resourcified & thread-safe! 1999-10-05 14:36:00 +00:00
Thies C. Arntzen
e0fe7b9c03 *** empty log message *** 1999-10-05 12:11:26 +00:00
Andrei Zmievski
cb78ebc0de Taken from PHP3 source. 1999-10-04 21:10:26 +00:00
Sascha Schumann
7aed3d51fc * Fix header("HTTP/..") behaviour
* Fix leak WRT http_status_line
    * Update sapi/README
    * Remove %PHP_OUTPUT_FILES sort
1999-10-04 18:07:46 +00:00
Thies C. Arntzen
95d49b10b4 upgraded the former basic_functions.c code to use new API. 1999-10-04 13:31:36 +00:00
Thies C. Arntzen
008810dc29 ereg now returns a continious array 0..9 again - empty values are returned as false.
i think this is *more* compatible with PHP3 - unless anybody really dislikes it i'd prefer it like this.
1999-10-04 13:04:32 +00:00
Andi Gutmans
f114050fc8 - Update changelog 1999-10-03 19:05:25 +00:00
Andi Gutmans
f67a65543d - I forgot this 1999-10-01 19:53:27 +00:00
Andrei Zmievski
23e8d1762d Added array_reverse() function. 1999-10-01 17:36:54 +00:00
Thies C. Arntzen
7e75bf8f88 one zval fix - cleanups 1999-10-01 13:44:07 +00:00
Andrei Zmievski
6f34f1a68d test commit 1999-09-30 23:00:39 +00:00
Andrei Zmievski
7258842c29 preg_replace() now makes copies of array entries if arrays are passed in,
so that convert_to_string() preserves the originals. Is this the correct way to do it?
1999-09-30 21:59:46 +00:00
Sascha Schumann
d926d95066 Test commit II. 1999-09-30 19:19:19 +00:00
Sascha Schumann
33ba4ec2a9 Test commit. 1999-09-30 18:54:10 +00:00
Thies C. Arntzen
16e1cbee07 major rework here - the refcount stuff gets better and better! 1999-09-30 08:41:45 +00:00
Stig Bakken
16ff84429a *** empty log message *** 1999-09-29 15:17:29 +00:00
Thies C. Arntzen
284bc523d6 fixed crash in connection shutdown! 1999-09-29 14:20:27 +00:00
Stig Bakken
2a854ca8b9 Generalized server-API build process on UNIX. Each SAPI
implementation now has its own directory under sapi/, just like
extensions have theirs under ext/.  To make the final targets appear
in the main dir, the top-level Makefile includes sapi/NN/Makefile.inc
from the selected sapi backend.  This is a plan Makefile stub without
any autoconf substitutions.  Each SAPI backend also has its own
config.m4 like extensions (read at the end of diversion 2) and
config.h.stub files.

Each SAPI backend has to contain:

config.m4: just like for extensions, this file contains
autoconf/automake directives that end up in the configure script.  The
only difference is that the sapi config.m4 files are read in diversion
(output block) 2 instead of 3.  The sapi config.m4 files should set
two variables: PHP_SAPI (which sapi backend to choose) and SAPI_TARGET
(the name of the resulting library or program, previously BINNAME).
If they are not specified, they will default to "cgi" and "php",
respectively.

Makefile.inc: has to exist, has to define "INSTALL_IT" to the command
used to install the final target (or ":" for no operation).  It also
has to define a plain Makefile rule (without autoconf substitutions)
to build $(SAPI_TARGET)

Makefile.am: just what you think.  Make sure your target is called
"libphpsapi_NNN.a", where NNN is the value of PHP_SAPI.

Some testing and fixing probably remains.  To make everything hang
together, I've done some ugly tricks that I can imagine causing some
problems.  I've built and run the CGI version and built the Apache
DSO.
1999-09-27 16:34:28 +00:00
Sascha Schumann
df42e494d7 Disable rpaths optionally. 1999-09-26 09:05:56 +00:00
Sascha Schumann
57668a27cf * Use per-thread structure for request data
* Update ChangeLog
1999-09-25 21:08:36 +00:00
Thies C. Arntzen
091e91c051 fixed callback code -> now $parser is passed as a resource! 1999-09-25 16:42:31 +00:00
Andreas Karajannis
3ce44b1046 *** empty log message *** 1999-09-25 11:36:34 +00:00
Stefan Roehrich
2c9ee99743 Use new Zend API. 1999-09-25 11:23:02 +00:00
Andrey Hristov
bfa7b6b145 - Updated array functions to use high-performance API
- Updated preg_split() to allow returning only non-empty pieces
1999-09-24 22:44:41 +00:00
Andrey Hristov
0c02153bb9 *** empty log message *** 1999-09-24 20:12:28 +00:00
Andrey Hristov
ba01cefc0c Update to new high-performance function API. 1999-09-24 20:11:06 +00:00
Sascha Schumann
e303647058 Use new Zend API and some minor cleanup. 1999-09-24 19:15:17 +00:00
Andrey Hristov
5a35438c21 *** empty log message *** 1999-09-24 18:58:36 +00:00
Andrey Hristov
be0eeccdbc Update WDDX for new high-performance function API. 1999-09-24 18:43:34 +00:00
Thies C. Arntzen
8ad2f4a2e8 we want to know who to "blame";-) 1999-09-24 18:07:26 +00:00
Thies C. Arntzen
c626d9e47b updated XML (only partly tested) 1999-09-24 18:02:58 +00:00
Thies C. Arntzen
032b459205 use getParameterEx 1999-09-24 15:10:13 +00:00
Zeev Suraski
86133ef45e Ok guys, the prototype for zend_fetch_resource*() has changed - it now
accepts a zval ** instead of a zval *, to be suitable for use with the
getParametersEx() API.
You don't have to switch to the getParametersEx() API, but you will have to
go over your code and add &'s where it's applicable (of course, if you have
the mental strength to go over your code and convert it to use the Ex API,
it's best).

The MySQL module now uses the getParametersEx() API completely.
1999-09-24 14:07:15 +00:00
Nick Gorham
7d759e6781 Added support for Easysoft ODBC-ODBC Bridge
Fixed bug in odbc_setoption
1999-09-23 14:46:35 +00:00
Andrew Skalski
1e13eb646e fixed typo in mcal_list_alarms() 1999-09-23 14:34:00 +00:00
Thies C. Arntzen
820adaddf1 Ora_Fetch_Into now resets the returned array in all cases 1999-09-23 10:23:12 +00:00
Thies C. Arntzen
ed731497fe fixed NULL column
cleanups
1999-09-23 09:15:38 +00:00
Nick Gorham
fd3f26c100 Added odbc metadata update log 1999-09-22 21:15:35 +00:00
Andrew Skalski
1220513252 mcal fix 1999-09-22 20:23:34 +00:00
Thies C. Arntzen
24c5143122 fixed Ora_PLogon (rewrote ora_do_logon using php_mysql.c)
oracle_hack.c should no longer be needed!
1999-09-22 15:16:19 +00:00
Thies C. Arntzen
8c6da509f2 resourcified Oracle 1999-09-22 09:52:19 +00:00
Stefan Roehrich
8b4000f4cb Added new allowable_tags for gzgetss() in ChangeLog, too. 1999-09-22 08:11:17 +00:00
Andrey Hristov
9ea5e71a75 *** empty log message *** 1999-09-21 21:39:20 +00:00
Thies C. Arntzen
8638a61df9 added krsort() function 1999-09-21 14:36:41 +00:00
Zeev Suraski
8b1195ffcc *** empty log message *** 1999-09-21 07:32:50 +00:00
Andrew Skalski
678c204e32 added FTP module 1999-09-20 18:12:55 +00:00
Rasmus Lerdorf
c0dcedcafc Added optional allowable_tags arguments to strip_tags() and fgetss() to
allow you to specify a string of tags that are not to be stripped

Could have used flex for this, and Andrew sent me a flex file to do this,
but I could do the same thing with only minor additions to the existing
state machine and the resulting code is much smaller and tighter.
1999-09-20 15:50:56 +00:00
Andrey Hristov
eb66458ed9 *** empty log message *** 1999-09-20 14:14:46 +00:00
Thies C. Arntzen
6c0c410acf resource API & ZTS stuff 1999-09-20 12:51:20 +00:00
Zeev Suraski
8c75ad3dd3 *** empty log message *** 1999-09-20 11:56:45 +00:00
Zeev Suraski
ee382ca76a Fixed a memory leak in the Apache per-directory directives handler 1999-09-20 11:54:06 +00:00
Thies C. Arntzen
4bb329eafb added array_count_values function. 1999-09-20 10:09:57 +00:00
Zeev Suraski
4dcb388c0c *** empty log message *** 1999-09-19 11:07:49 +00:00
Gergely Madarász
32c7eaa9e3 note the shared modules in the changelog 1999-09-17 12:12:56 +00:00
Thies C. Arntzen
128b733eca fix #2316 - fetching empty LOBs via OCI8 1999-09-17 08:25:03 +00:00
Sascha Schumann
55272d3df8 add user-level callbacks 1999-09-17 05:40:59 +00:00
Zeev Suraski
98d95dd88e - Added support for unknown POST content types (Zeev)
- Introduce the convert_to_*_ex() API in strlen()
1999-09-16 23:18:15 +00:00
Sascha Schumann
8ea07b1fd2 . 1999-09-16 13:00:06 +00:00
Thies C. Arntzen
6ecd417b34 php4 now deserialized php3 objects correctly!
php3 will ignore objects serialized by php4 (that's the price we have to pay!)
small fix in deserializing objects with static initializers (thanx boris)
1999-09-16 08:05:17 +00:00
Thies C. Arntzen
de73bd0123 when unserializing classes:
if the class is not known the standard class (no methods) will be used.
if the class is known - the created object will functional again!
1999-09-15 15:03:06 +00:00
Thies C. Arntzen
e7ad3bbec2 use new API in var.c 1999-09-15 11:42:28 +00:00
Thies C. Arntzen
3491633aa0 made serialize/unserialize work with classes! (also made the code "shorter")
CHANGES:
- the serialized string now also contains the class name (was not available in PHP3)!
- when unserializing php will create a fully working object of that class again
  therby the class has to be defined when unserializing - else you get a warning!
1999-09-15 11:08:25 +00:00
Andrey Hristov
870a6679ff - Updated bundled PCRE library to version 2.08
- Made it possible to specify external location of the PCRE library
- Reworked PCRE extension to use updated PCRE library API

Hopefully now everything behaves just like Perl..
1999-09-14 19:24:37 +00:00
Thies C. Arntzen
cdd360043e forgot 1999-09-14 14:18:57 +00:00
Thies C. Arntzen
41da939988 count() now uses the new getParamertersEx API. 1999-09-14 13:34:27 +00:00
Thies C. Arntzen
598aaba8ca you can now position when doing lob-writes. 1999-09-14 12:41:00 +00:00
Thies C. Arntzen
95303a4bb2 added Metaphone support 1999-09-13 15:48:32 +00:00
Thies C. Arntzen
c2042b1561 got rid of the define-callback stuff there's a bug in oracle-oci8! 1999-09-13 15:19:29 +00:00
Thies C. Arntzen
d5bafdaa20 ported oci8 to use new class API
var_dump no longer tries to traverse avr->value.ht for objects but uses var->value.obj.properties instead
1999-09-13 10:52:54 +00:00
Zeev Suraski
b2c0acb9ec - Rewrote the GET/POST/Cookie data reader to support multi-dimensional
arrays! (Zeev)

This still needs a lot of more testing, but it seems to work more or less.
1999-09-12 23:51:12 +00:00
Sascha Schumann
f2ff18e71e These shouldn't be here 1999-09-12 10:25:26 +00:00
Zeev Suraski
5a6b8653b9 *** empty log message *** 1999-09-12 03:08:29 +00:00
Sascha Schumann
3a9f68eb11 update 1999-09-12 00:44:08 +00:00
Andrey Hristov
d8fc73b5c4 - Fixed mem leak when undefined variable was passed in for serialization
- Made it properly serialize object properties
1999-09-12 00:04:29 +00:00
Andrey Hristov
9706aa1daa - Added session_unset() function
- Fixed double session globals shutdown crash
- Added warning when session_destroy() is called without session_start()
1999-09-11 22:31:04 +00:00
Andrey Hristov
99caa5d43b Use OnUpdateBool for Boolean entries. 1999-09-11 20:36:47 +00:00
Sascha Schumann
533ef3988b - support for external entropy sources
- extern_referer_chk => extern_referer_check
- kill a warning in mod_files.c
1999-09-11 17:20:31 +00:00
Zeev Suraski
15fee4d3a6 - Seriously optimize and clean php_parse_gpc_data()
- Added gpc_globals directive to turn global definitions of GPC variables on/off
(untested)
1999-09-11 15:04:45 +00:00
Sascha Schumann
b43cf1a583 add versioning support 1999-09-08 12:26:31 +00:00
Andrey Hristov
7aacff63c9 Added second parameter to array_keys() which allows returning keys
only for a specific value in an array.
1999-09-07 18:29:59 +00:00
Danny Heijl
c7cdb687da Forgot to update ChangeLog 1999-09-06 19:24:47 +00:00
Andreas Karajannis
dd509608a1 Changes for updated odbc module 1999-09-05 13:06:24 +00:00
Rasmus Lerdorf
045aaef644 Oops, set_time_limit() would never have worked becase HAVE_SETITIMER
never got defined anywhere.
1999-09-04 21:33:18 +00:00
Rasmus Lerdorf
56b75920b4 Oops 1999-09-04 21:16:41 +00:00
Zeev Suraski
6d4ab7372d Add resource support to the Sybase CT module 1999-09-04 13:03:09 +00:00
Zeev Suraski
43523e9854 Update the mSQL module with the latest tech 1999-09-04 00:37:31 +00:00
Zeev Suraski
3160cab22b Final MySQL tweaks 1999-09-03 19:54:12 +00:00
Zeev Suraski
d7d966f7c6 Use the new API for resources in MySQL 1999-09-03 19:13:37 +00:00
Sascha Schumann
5b293ecd4d - add global startup/shutdown handlers
- improve genif.sh to also consider all header files for inclusion
  (checks for phpext_)
- use vsnprintf in main.c to avoid buffer overflows
- improve sessions's mm module to cope better with OOM situations
  within the shared memory segment
- fix typo wrt session.auto_start
1999-09-03 17:46:39 +00:00
Zeev Suraski
276c876171 - Fixed several problems with output buffering and HEAD requests (Zeev)
- Fixed HTTP Status code issue with ISAPI module (Zeev)
1999-09-03 02:39:36 +00:00
Zeev Suraski
2521b5550a *** empty log message *** 1999-09-03 00:18:52 +00:00
Thies C. Arntzen
9e959a0b8a newest GetImageSize renamed header-file 1999-09-02 11:58:23 +00:00
Andi Gutmans
5b52d07ea6 - Small fix but it's important for people to know when B3 is released. 1999-09-02 04:26:48 +00:00
Zeev Suraski
a27ed294df Add -d switch 1999-08-28 23:06:07 +00:00
Sascha Schumann
563cb21539 If we stick to this style, parsing becomes easier (for humans and computers). 1999-08-28 10:31:54 +00:00
Andrey Hristov
aa147184ba *** empty log message *** 1999-08-26 13:26:57 +00:00
Andi Gutmans
f297719cdb - Make Win32 compile again. 1999-08-26 06:49:42 +00:00
Sascha Schumann
3b408ce516 . 1999-08-25 16:58:01 +00:00
Andi Gutmans
7a9ad9d0c8 Make fopen() work with URL's in Win32 1999-08-25 16:24:14 +00:00
Andi Gutmans
f065529b6d - Fix for include_path for Win32 (Zend library) 1999-08-25 12:22:45 +00:00
Zeev Suraski
7e250d06f5 Add output_buffering directive 1999-08-24 23:12:50 +00:00
Sascha Schumann
306c8a7fc8 . 1999-08-22 18:48:57 +00:00
Sascha Schumann
070dfe0833 - add session.extern_referer_chk
- use combined lcg in session id creation
1999-08-21 20:48:40 +00:00
Sascha Schumann
f9b8901791 . 1999-08-21 17:34:55 +00:00
Andrey Hristov
e5aa4c844f *** empty log message *** 1999-08-20 13:04:05 +00:00
Andrey Hristov
2bcf787a29 *** empty log message *** 1999-08-19 13:19:47 +00:00
Thies C. Arntzen
e3aeb15678 ocifetchinto fix 1999-08-18 12:51:51 +00:00
Zeev Suraski
cd2006f8b7 Fix #2090 1999-08-17 22:06:55 +00:00
Zeev Suraski
39f6b22dae *** empty log message *** 1999-08-17 22:01:10 +00:00
Sascha Schumann
52d6ab608f update 1999-08-17 18:08:37 +00:00
Sascha Schumann
4ceffd7131 fix persistency of mhash_* constants 1999-08-17 17:31:27 +00:00
Thies C. Arntzen
3d05a0d9cc ZTS stuff 1999-08-17 14:40:28 +00:00
Sascha Schumann
ba78cb9c53 fix flushing cached information to disk 1999-08-17 14:18:27 +00:00
Thies C. Arntzen
f93ce67426 cleanups & ZTS stuff (ZTS untested!) 1999-08-17 13:54:25 +00:00
Thies C. Arntzen
e30a2740cf imported diskfreespace from 3.0 1999-08-17 12:32:23 +00:00
Andrey Hristov
a0bf6b0923 Removed internal pointer reset from array_walk. 1999-08-16 14:19:49 +00:00
Andrey Hristov
796c4a021a *** empty log message *** 1999-08-14 16:45:51 +00:00
Zeev Suraski
58e24ac18a - Add PHP Modules workspace
- Get the MySQL module to compile&work under thread-safe Win32
- Fix various thread safety issues with dynamic modules
1999-08-13 21:03:27 +00:00
Zeev Suraski
5fbe27828b Separate Sybase-CT from Sybase, and fix build process for Sybase-CT 1999-08-13 00:14:17 +00:00
Zeev Suraski
4bfcb29c46 that too 1999-08-09 18:33:22 +00:00
Andi Gutmans
c791d60ad9 Go beta 2 (final) 1999-08-09 18:29:40 +00:00
Thies C. Arntzen
5d2206d3af fixed sysv_shm* 1999-08-09 15:03:09 +00:00
Uwe Steinmann
3d8bd038d2 add changelog entries which I forget a couple of days ago 1999-08-09 08:39:28 +00:00
Zeev Suraski
1e6c159422 Built-in phpinfo() links are now turned off by default. They can be
turned on using the allow_builtin_links INI directive
1999-08-07 18:21:35 +00:00
Zeev Suraski
9b09f412bf - Changed phpinfo() to list modules that have no info function 1999-08-07 17:52:11 +00:00
Andrey Hristov
a7d6450ea1 *** empty log message *** 1999-08-07 16:44:32 +00:00
Zeev Suraski
1701a9e22f Fix for bug #1980 1999-08-07 16:32:50 +00:00
Zeev Suraski
9f2e9c5140 Fix for bug #1754 1999-08-07 16:02:48 +00:00
Zeev Suraski
37d7d08482 - Improved register_shutdown_function() - you may now supply arguments that
will be passed to the shutdown function
- Improved call_user_func() and call_user_method() - they now support passing
  arguments by reference
- Fixed usort() and uksort()
1999-08-06 15:25:11 +00:00
Zeev Suraski
65ee58da41 *** empty log message *** 1999-08-06 13:41:27 +00:00
Zeev Suraski
b56086ae33 *** empty log message *** 1999-08-04 22:34:39 +00:00
Zeev Suraski
7c7fe83615 * Fix bug #1963
* Support large ISAPI server variables
1999-08-04 22:21:29 +00:00
Steven Lawrance
9a1edceb46 Added a note about the SNMP changes 1999-08-04 21:47:56 +00:00
Stefan Roehrich
5d10addd01 Fix for Redhat libc 2.1 and dynamic loading in zlib module.
Adapted zlib module to new PHP_Mxxx macros.
1999-08-02 21:12:16 +00:00
Zeev Suraski
e2f17b298c Fix bug #1872 1999-08-01 00:33:03 +00:00
Zeev Suraski
7297f5196e Final IMAP fixes 1999-08-01 00:25:58 +00:00
Zeev Suraski
698459ea93 Fix problem with include/require of URLs (bug #1832) 1999-07-31 19:06:36 +00:00
Zeev Suraski
3ee8c8f0da This should fix the implode() problem 1999-07-30 22:17:51 +00:00
Andi Gutmans
a7af382874 - Added get_class($obj), get_parent_class($obj) and method_exists($obj,"name") 1999-07-28 17:58:38 +00:00
Zeev Suraski
d49b53b5e1 *** empty log message *** 1999-07-27 20:33:42 +00:00
Andi Gutmans
bb8046c4a9 - Update Changelog 1999-07-27 18:38:01 +00:00
Andrey Hristov
15d87d2452 check for nKeyLength not arKey 1999-07-27 16:26:30 +00:00
Andrey Hristov
6b79bbe842 *** empty log message *** 1999-07-27 16:19:10 +00:00
Zeev Suraski
4215a17639 Fix bug #1867 1999-07-26 21:55:51 +00:00
Zeev Suraski
980c803cd7 Fix bug #1851 1999-07-26 21:17:05 +00:00
Zeev Suraski
fff675c448 Congrats Andrey 1999-07-24 20:36:31 +00:00
Zeev Suraski
ae64b9096e *** empty log message *** 1999-07-24 14:40:08 +00:00
Zeev Suraski
2b2bda778e * Fix a warning
* Update ChangeLog
1999-07-24 14:36:48 +00:00
Rasmus Lerdorf
b0c60bd249 Changelog 1999-07-24 02:44:53 +00:00
Andrey Hristov
974f278257 Added function entry for similar_text(). 1999-07-23 22:47:24 +00:00
Andrey Hristov
ecc51ad6de *** empty log message *** 1999-07-23 21:24:30 +00:00
Andrey Hristov
58cb2362c6 *** empty log message *** 1999-07-23 19:52:18 +00:00
Sascha Schumann
33f30aee64 gdttf update 1999-07-23 15:56:47 +00:00
Stig Bakken
083b2df569 good boy 1999-07-23 15:22:36 +00:00
Zeev Suraski
00238ad1ba Added check for freetype.h 1999-07-23 15:18:37 +00:00
Andrey Hristov
64ed8f7141 Changeloggin' 1999-07-23 13:47:57 +00:00
Danny Heijl
78d420e9fe ChangeLog 1999-07-23 12:26:26 +00:00
Sascha Schumann
c927593c6d ChangeLog 1999-07-23 00:04:24 +00:00
Zeev Suraski
d3e8858413 Please add in any changes/bug fixes you've made - we need to keep a details ChangeLog... 1999-07-22 23:54:54 +00:00
Zeev Suraski
de1acfe33a Time to remove the PHP 3.0 ChangeLog 1999-07-22 21:49:53 +00:00
Sascha Schumann
2f92fc0326 .. 1999-07-02 23:56:02 +00:00
Sascha Schumann
73b9beff19 ... 1999-07-02 23:55:45 +00:00
Sascha Schumann
eef062572a . 1999-07-02 23:51:01 +00:00
Sascha Schumann
aa485e9161 test commit 1999-07-02 23:32:55 +00:00
Sascha Schumann
72aa9e2e2b test commit 1999-07-02 23:31:25 +00:00
Zeev Suraski
a08e3925b1 Time to rename the child 1999-05-22 09:24:21 +00:00
Zeev Suraski
aceaabceff PHP 4.0 1999-04-07 21:05:13 +00:00