Commit Graph

791 Commits

Author SHA1 Message Date
Andrey Hristov
42e39d474b Remove extraneous debug dlerror() call which results in the subsequent
dlerror() returning NULL.
1999-09-08 19:36:18 +00:00
Danny Heijl
558d287af9 Be consistent. 1999-09-08 14:09:05 +00:00
Uwe Steinmann
66a636a6ae - add posibility to specify how objrec to objarr conversion
is performed (not ready yet)
1999-09-08 12:29:13 +00:00
Andi Gutmans
48ab0fb57d - Fix warnings and win32 compile 1999-09-07 20:29:31 +00:00
Andrey Hristov
6101d108e0 Here you go, Egon. 1999-09-07 19:41:28 +00:00
Stefan Roehrich
06362129fa Fixed behavior with empty doc_root.
gzgetss() now uses _php3_strip_tags.
1999-09-07 19:05:37 +00:00
Stig Bakken
5c40e7c41e Add thread-safety notice here. The solution is using gethostbyname_r,
but it seems that it takes different parameters on Solaris and
Linux. ;-P We should probably make a wrapper function, and make a
configure test that checks if there is a reentrant version available,
and if not protect gethostbyname and similar calls with a mutex until
the results have been copied.  Ugly.
1999-09-07 18:46:25 +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
Andrey Hristov
cff218cf54 Kill compiler warning. 1999-09-07 18:26:36 +00:00
Andrey Hristov
209fe717b1 Kill warnings. 1999-09-07 16:09:18 +00:00
Uwe Steinmann
51b01ca9b7 - uniqid() used the additional parameter even if it was not provided
this caused an segm fault. fixed it.
1999-09-07 10:34:17 +00:00
Zeev Suraski
959ad0e9ea A couple of BoundsChecker fixes 1999-09-06 22:40:27 +00:00
Egon Schmid
f0f7b9de53 File should here be string. 1999-09-06 20:13:23 +00:00
Stefan Roehrich
e4b7bf4ae8 Removed remaining PHP_31 defines.
First try with ZTS support, can someone with a working ZTS enabled setup test this, please?
1999-09-06 19:09:47 +00:00
Gergely Madarász
8ee14c990b Enabled shared build of gd module 1999-09-06 16:50:11 +00:00
Danny Heijl
dad0716e37 - "Resourcified" the Informix driver. 1999-09-06 13:55:43 +00:00
Jakub Skopal
a38995a832 Workaround for crypt() getting too few characters for salt. 1999-09-06 13:24:36 +00:00
Stefan Roehrich
93252bd556 Fixed prototype. 1999-09-06 08:59:48 +00:00
Zeev Suraski
f3e63d9e71 Fix the 4.0 tree (forgot to commit) 1999-09-06 05:21:45 +00:00
Jakub Skopal
5cc16d86b0 Added addcslashes(), stripcslashes().
Reverted addslashes() to the very original behaviour.
1999-09-05 20:55:13 +00:00
Andi Gutmans
14d9a59f1c - Make dir functions compile in Win32
- Fix too early memory manager initialization (For you Thies)
1999-09-05 19:04:40 +00:00
Stefan Roehrich
5bcc067687 Find debian umich-ldap libraries/include files. 1999-09-05 16:28:16 +00:00
Andreas Karajannis
361a09e5fa Renaming odbc files 1999-09-05 13:03:22 +00:00
Andreas Karajannis
8a7d806054 New resource handling for odbc module 1999-09-05 13:01:42 +00:00
Jakub Skopal
8c2f752c3d C++ comment fix... sorry. 1999-09-05 00:58:59 +00:00
Jakub Skopal
06545c3364 Appended second argument of addslashes(),
Changed php_addslashes() to add \000 instead of just \0
1999-09-05 00:55:48 +00:00
Rasmus Lerdorf
f42659a8f1 Kill a warning 1999-09-04 22:15:51 +00:00
Stefan Roehrich
fcd55e03cb First try with new resource handling in zlib module. 1999-09-04 21:51:54 +00:00
Rasmus Lerdorf
d3439023d3 Catch a timeout and add user-level interface for connection handling 1999-09-04 21:10:39 +00:00
Andrey Hristov
8e9cd1e4ae Oops, don't need those commented out blocks. 1999-09-04 19:09:37 +00:00
Andrey Hristov
ef943e75a5 Conform to new resource handling guidelines. 1999-09-04 19:07:57 +00:00
Zeev Suraski
c12d4bc7d4 *** empty log message *** 1999-09-04 13:18:59 +00:00
Zeev Suraski
6d4ab7372d Add resource support to the Sybase CT module 1999-09-04 13:03:09 +00:00
Sascha Schumann
62fc17983a First try at WDDX serializer
(not active currently)
1999-09-04 11:25:43 +00:00
Zeev Suraski
81301ad2a9 A few fixes 1999-09-04 11:05:34 +00:00
Sascha Schumann
7e70c1ad91 cleanup 1999-09-04 08:33:31 +00:00
Sascha Schumann
c49cdc9a64 remove superflicious enumaration 1999-09-04 08:21:36 +00:00
Sascha Schumann
7796f4d995 bail out, if ps_mm_instance wasn't initialized correctly
(should take place in global startup)
1999-09-04 08:21:09 +00:00
Sascha Schumann
7e50dda96b implement single directory garbage collector 1999-09-04 08:20:43 +00:00
Zeev Suraski
43523e9854 Update the mSQL module with the latest tech 1999-09-04 00:37:31 +00:00
Zeev Suraski
0d66693cc3 *** empty log message *** 1999-09-03 23:40:44 +00:00
Andrey Hristov
5e4a85f2e3 Static is good... 1999-09-03 21:12:10 +00:00
Zeev Suraski
3160cab22b Final MySQL tweaks 1999-09-03 19:54:12 +00:00
Danny Heijl
a9fd483aff - backed out IS_RESOURCE stuff in favour of old php3-style IS_LONG
for now. This makes the Informix driver work again.
1999-09-03 19:50:14 +00:00
Zeev Suraski
90f67c6245 More cleanups 1999-09-03 19:37:46 +00:00
Zeev Suraski
d7d966f7c6 Use the new API for resources in MySQL 1999-09-03 19:13:37 +00:00
Stefan Roehrich
c1a4861eb1 Added detection of Oracle 8.1 (aka 8i) from PHP3. 1999-09-03 19:04:35 +00:00
Andrey Hristov
f72897c29d Practice what you preach, I guess. 1999-09-03 19:01:19 +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
Sascha Schumann
331823337c Makefile.in and other generated do not belong under CVS control 1999-09-03 17:41:58 +00:00
Gergely Madarász
bc53807a17 Enabled shared build of mysql module 1999-09-03 17:13:53 +00:00
Gergely Madarász
9a17e7b6f5 Small cleanup 1999-09-03 16:37:00 +00:00
Gergely Madarász
d447d17602 Enabled shared build of snmp module 1999-09-03 16:04:28 +00:00
Gergely Madarász
94bc5f6c55 Enabled shared build of pgsql module 1999-09-03 14:58:51 +00:00
Andrey Hristov
f8d9ef14b5 Fixed resource handling to conform to PHP4 guidelines. 1999-09-03 14:17:10 +00:00
Uwe Steinmann
303558e6cf - complete rewrite of object to array conversion 1999-09-03 10:21:55 +00:00
Stig Bakken
1bce4ebfd8 clean up library naming 1999-09-02 18:22:07 +00:00
Thies C. Arntzen
9e959a0b8a newest GetImageSize renamed header-file 1999-09-02 11:58:23 +00:00
Mark Musone
ed74428ca1 Added mcal module 1999-09-01 20:30:27 +00:00
Andrey Hristov
7894c0cc1a Fix lcg.h location. 1999-09-01 14:20:15 +00:00
Uwe Steinmann
26415d0465 - Group-attribute may now appear multiple times in objrec record. 1999-09-01 06:15:46 +00:00
Stig Bakken
4092f4b8c0 ext/lcg -> ext/standard in various places 1999-08-31 18:05:22 +00:00
Stig Bakken
b5375a323d oops 1999-08-31 15:57:30 +00:00
Stig Bakken
b55d490ef0 fix for bug #2191 1999-08-31 15:27:31 +00:00
Stig Bakken
0e5f26c6bb compat fix, bug #2201 1999-08-31 15:20:21 +00:00
Thies C. Arntzen
e8e88afd11 "fix" for #2202 1999-08-31 13:10:55 +00:00
Andreas Karajannis
125da02aa7 Add support for unixODBC 1999-08-30 10:48:23 +00:00
Stig Bakken
5600f889b2 moved lcg stuff to ext/standard 1999-08-29 20:12:12 +00:00
Egon Schmid
621fe70048 This one was nonesense. 1999-08-29 15:07:54 +00:00
Egon Schmid
db44261039 Missing return type. 1999-08-29 15:00:18 +00:00
Egon Schmid
2c0b8b5ac8 Oops, file should be string here. 1999-08-29 09:59:12 +00:00
Philippe Verdy
ce6db81dce semicolon syntax error 1999-08-28 17:01:32 +00:00
Philippe Verdy
1dcee0c840 Bug in gmmktime():
it produced wrong results in New Foundland,
Central Australia, India, Iran, and Java, with
half-hour timezones.
1999-08-28 16:19:14 +00:00
Sascha Schumann
52cd153723 merge in fix from php3 1999-08-28 13:53:46 +00:00
Sascha Schumann
49824ee8cb - fix potential buffer problem in send_cookie
- fix gc probability algorithm
- don't access mod_data directly
- initial version of mm support for session data storage

  This works pretty good, but we need to create the initial mm pool
  from the parent process/thread. Still looking for a clean way to do that.
1999-08-27 21:03:22 +00:00
Zeev Suraski
aa8b27ba1d Better debug macros 1999-08-27 19:17:19 +00:00
Andreas Karajannis
9eea00c086 Typo fix 1999-08-27 08:46:23 +00:00
Zeev Suraski
afb0c684dc Tiny fixes 1999-08-27 04:39:19 +00:00
Mark Musone
6821da54f8 lets not make global functions unless we need to..actually this should be taken out someday 1999-08-27 04:22:39 +00:00
Mark Musone
a92788ddd9 cleand up storing new events 1999-08-27 04:21:47 +00:00
Rasmus Lerdorf
8ccce347a3 Missing return types in prototypes 1999-08-26 14:13:14 +00:00
Andrey Hristov
1a218328da Fix for #2161 1999-08-26 13:25:53 +00:00
Sascha Schumann
33ed504ef4 AIX wants the value, not the pointer to the value.
Fixes #2149
1999-08-25 16:53:57 +00:00
Andi Gutmans
7a9ad9d0c8 Make fopen() work with URL's in Win32 1999-08-25 16:24:14 +00:00
Zeev Suraski
7e250d06f5 Add output_buffering directive 1999-08-24 23:12:50 +00:00
Mark Musone
d8a322e7be argh..Finally 1999-08-24 20:56:02 +00:00
Sascha Schumann
9aea8d5bdc suppress error exit status on non Rhapsody systems 1999-08-23 23:02:09 +00:00
Mark Musone
196b2350f4 changed to use the new, soon to be public libicap 0.99 1999-08-23 17:19:06 +00:00
Sascha Schumann
0e43d751ea return true to match documentation 1999-08-23 15:37:11 +00:00
Sascha Schumann
1dd31c38a6 - cleanup code
- add script which creates the directory tree for better scaling
  of mod_files

I have to decide yet whether we implement the garbage collection in the
module or if we simply let the user do

find path -ctime +1 | xargs rm
1999-08-22 14:14:46 +00:00
Sascha Schumann
02d6ec2a6b Use O_EXCL where possible. 1999-08-22 13:43:23 +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
c9bb8db0ad get rid of that usleep() and add some entropy using the combined lcg 1999-08-21 17:22:08 +00:00
Andrey Hristov
01ed90ccef Fix bug #2025 1999-08-20 13:03:22 +00:00
Egon Schmid
17f132f9ee Here was also something missing 1999-08-19 20:31:57 +00:00
Mark Musone
67e81da36b *smack*...must..initialize...return...value.. 1999-08-19 19:02:22 +00:00
Uwe Steinmann
c3fe95d971 On the way to make configure more robust 1999-08-19 17:07:27 +00:00
Andi Gutmans
aeec4e198a - Fixed memory leaks. tsrm resource id deallocation still needs to be implemented. 1999-08-19 16:52:53 +00:00
Uwe Steinmann
4747a40964 - fixed several memory leaks
- fixed broken hw_cp and hw_mv functions
1999-08-19 15:03:15 +00:00
Uwe Steinmann
7d52d5b786 missing return type 1999-08-19 06:43:44 +00:00
Rasmus Lerdorf
314f107498 TTF support tested and working now 1999-08-19 06:32:07 +00:00
Rasmus Lerdorf
7f97086631 This should fix TTF support - untested 1999-08-19 05:23:02 +00:00
Andi Gutmans
fd28fec38b - Fixed typo in oci8 error message 1999-08-19 04:13:56 +00:00
Andrey Hristov
c10c675f5b Fixed bug #2105 1999-08-18 17:23:01 +00:00
Chuck Hagenbuch
869c196fa0 cjh: fixing the imap_add_body crash in php4. 1999-08-18 17:19:20 +00:00
Thies C. Arntzen
c1218de0d2 ZTS 1999-08-18 16:48:59 +00:00
Andrey Hristov
3f48a5524d Ported fixed for bug #2103 from PHP3. 1999-08-18 16:43:57 +00:00
Thies C. Arntzen
f63da06238 ZTS fix 1999-08-18 15:40:54 +00:00
Thies C. Arntzen
bed72caf06 some ZTS stuff 1999-08-18 15:39:46 +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
65e6d82771 Fix #2096 1999-08-17 22:00:02 +00:00
Sascha Schumann
71e3f6fde3 merge in change:
Date:   Monday June 28, 1999 @ 4:40
Author: bjh

Update of /repository/php3/functions
In directory php:/tmp/cvs-serv5697

Modified Files:
    crypt.c
Log Message:
Stop core dump using crypt() with standard DES. When PHP3_MAX_SALT_LEN = 2
adding the null terminator to the salt exceeds allocated space causing
stack corruption.
1999-08-17 18:21:04 +00:00
Sascha Schumann
1f4d09c09f HAVE_FREETYPE_H isn't defined anywhere. HAVE_LIBTTF should be sufficient 1999-08-17 18:06:39 +00:00
Sascha Schumann
4ceffd7131 fix persistency of mhash_* constants 1999-08-17 17:31:27 +00:00
Mark Musone
01b178292e dont have these library functiosn yet 1999-08-17 16:55:01 +00:00
Mark Musone
b9d17aaab4 argh..heh..par for the course.. 1999-08-17 16:51:04 +00:00
Mark Musone
f08430ec65 argh..bad day.. 1999-08-17 16:50:27 +00:00
Mark Musone
1d9a7c2623 please work... 1999-08-17 16:44:17 +00:00
Mark Musone
4136916e2f hrmmm 1999-08-17 15:17:01 +00:00
Mark Musone
8339e8c81d last few compile fixes 1999-08-17 15:07:22 +00:00
Mark Musone
4d738adb38 maybe it'll compile now..more php3->php4 conversions 1999-08-17 15:03:51 +00:00
Mark Musone
90e2bc1580 more changes 1999-08-17 14:41:23 +00:00
Thies C. Arntzen
3d05a0d9cc ZTS stuff 1999-08-17 14:40:28 +00:00
Mark Musone
0e1db64f8d thanks Andrey! 1999-08-17 14:31:39 +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
Uwe Steinmann
a5a5902fbc fixed potential segm faults 1999-08-17 09:59:19 +00:00
Andrey Hristov
a0bf6b0923 Removed internal pointer reset from array_walk. 1999-08-16 14:19:49 +00:00
Philippe Verdy
236d54114c make pcre test program compile again with Zeev's
additions in the pcre_exec() function parameters
1999-08-15 23:52:37 +00:00
Thies C. Arntzen
94ce166244 added a few PLS_FETCH() 1999-08-15 18:52:10 +00:00
Andrey Hristov
c85209985a Forgot to have internal pointer reset. 1999-08-14 16:43:38 +00:00
Danny Heijl
f12728f13e more of the new ini stuff 1999-08-14 15:30:48 +00:00
Zeev Suraski
2560bfd5f9 Rename TestClass to OverloadedTestClass 1999-08-14 11:08:26 +00:00
Zeev Suraski
55a6c270dd Fix thread unsafe version 1999-08-14 10:04:04 +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
Andrey Hristov
5ae3f32b24 Fixed bug #2023. 1999-08-13 20:28: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
Uwe Steinmann
d13824b0bc fixed unresolved symbol pdf_open_memory_image when pdflib 2.01 is used 1999-08-12 17:45:01 +00:00
Philippe Verdy
646db4f072 signed/unsigned warning removed 1999-08-12 10:53:29 +00:00
Uwe Steinmann
d4346da6cb config for pdf module should now be similar to php3 1999-08-12 06:23:28 +00:00
Mark Musone
e6241dc703 whoops, forgot to actually return the alarms :^) 1999-08-11 19:56:18 +00:00
Uwe Steinmann
205309f1c1 slight changes to config of pdf module 1999-08-10 17:07:00 +00:00
Stig Bakken
50f0a1b5d8 Makefile.in should not be added to CVS 1999-08-10 15:23:00 +00:00
Thies C. Arntzen
269785f95e starting to clean up 1999-08-10 14:33:59 +00:00
Thies C. Arntzen
63931ff4e8 you can now override the CFLAGS while doing make - eg:
make CFLAGS="-g"
1999-08-10 09:16:19 +00:00
Mark Musone
0076374125 more ports 1999-08-09 22:02:42 +00:00
Mark Musone
f0552d929f ports to php4 1999-08-09 21:39:29 +00:00
Mark Musone
c356371437 more moudle stuff 1999-08-09 21:34:52 +00:00
Mark Musone
fdc253e99d added icap files from php3 sources 1999-08-09 21:22:11 +00:00
Egon Schmid
8588b58a5e More typos. 1999-08-09 20:52:58 +00:00
Egon Schmid
17bd995568 I missed that also. 1999-08-09 20:18:00 +00:00
Egon Schmid
d8ad991022 Another typo. 1999-08-09 20:06:15 +00:00
Andreas Karajannis
da536e8a32 Fixed odbc_fetch_into, added prototype return values.
Pconnects are not working
1999-08-09 16:35:47 +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
Andreas Karajannis
daa7982110 First shot at odbc for PHP4
Problems with LONGs to be investigated
1999-08-08 16:26:26 +00:00
Thies C. Arntzen
78f8d04e63 fix for #1995 (this module needs some more work.) 1999-08-08 11:37:50 +00:00
Danny Heijl
7ceaa82d30 More zend-izing. 1999-08-07 20:32:54 +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
fd87bb3321 Modified array_walk() function so that the userland callback is passed
a key and possible user data in addition to the value.  It's still backward
compatible with one argument version.
1999-08-07 16:43:25 +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
Stefan Roehrich
4f3f4699ea Corrected spelling. 1999-08-07 15:50:26 +00:00
Zeev Suraski
125300b563 Fix&improve conversion scripts 1999-08-07 15:31:57 +00:00
Zeev Suraski
edabed5604 count/sizeof had their arguments setup wrong (messup between Beta 1 and 2) 1999-08-06 15:34:51 +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
Uwe Steinmann
7ef3076a56 Made Hypwerwave module threat safe 1999-08-06 10:42:00 +00:00
Thies C. Arntzen
4b8a100ec9 fix for #1947 1999-08-06 08:56:15 +00:00
Uwe Steinmann
104de20298 Fdf module should now be up to date 1999-08-06 06:52:06 +00:00
Uwe Steinmann
96ab2781ab Order of freeing memory cause segm fault since efree seems to wipe
out the memory.
1999-08-06 06:39:55 +00:00
Uwe Steinmann
6b5f0dde77 renamed file 1999-08-05 19:28:07 +00:00
Uwe Steinmann
f81c6b18f4 zend_hash_update() seems to be a bit different form php3_hash_update 1999-08-05 17:39:35 +00:00
Uwe Steinmann
d172a6b581 Huge patch to update the hyperwave and pdflib module.
Only pdflib >2.0 is supported.
None is tested yet. Hyperwave seems to be broken now.
1999-08-05 16:25:10 +00:00
Andrey Hristov
48c3643753 Fixed. 1999-08-05 13:41:17 +00:00
Steven Lawrance
f09d8b68ab Fixed a little boo-boo I made during the PHP3->PHP4 conversion. 1999-08-04 21:12:57 +00:00
Steven Lawrance
2aa4138668 Updated the files so that they have all the functionality of
PHP 3.0.12.  These include snmpwalkoid, snmp_get_quick_print, snmp_set_quick_print, and snmpset.
1999-08-04 20:56:33 +00:00
Rasmus Lerdorf
f2fe56ff69 [s]printf fix for bug #1952
(note, [s]printf doesn't work in PHP4 yet)
1999-08-03 20:08:33 +00:00
Mike Gerdts
a36fa329a2 file did not end with a newline, causing problems for Sun's C compiler 1999-08-03 15:27:19 +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
dcf9114329 AIX needs this include... 1999-08-02 19:59:04 +00:00
Zeev Suraski
3cb1eb0471 Removed '3' from key functions in PHP (maintained compatibility through
php3_compat.h)
1999-08-02 19:17:14 +00:00
Andrey Hristov
42c586b97c Fix function declarations. 1999-08-02 17:28:32 +00:00
Andrey Hristov
33d27f5bfe More symbol work. 1999-08-02 16:06:13 +00:00
Andrey Hristov
05585132ca More symbol work. 1999-08-02 15:02:52 +00:00
Andrey Hristov
98037c425d Updated proto 1999-08-02 14:31:41 +00:00
Egon Schmid
b55a6c9185 Another forgotten prototype. Andrey, why is preg_grep in PHP3 missing? 1999-08-01 18:18:40 +00:00
Andi Gutmans
91ec4763fd Support resource type in gettype() 1999-08-01 17:56:09 +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
2dda8d7f97 More IMAP fixes 1999-07-31 20:21:07 +00:00
Zeev Suraski
41cf3b96db That should fix bug #1903 1999-07-31 19:23:22 +00:00
Zeev Suraski
eb3d12c6dd Fix bug #1914 1999-07-31 16:20:06 +00:00
Zeev Suraski
338405d343 Declaration fix 1999-07-31 10:38:33 +00:00
Zeev Suraski
ba290e05a8 Ok, that should be a good start. Can somebody verify that this actually compiles,
and perhaps check if it runs?
1999-07-30 23:36:20 +00:00
Zeev Suraski
6aefb8bae3 Early steps towards making the IMAP module PHP 4.0 compatible
(and readable - indent people, INDENT)
1999-07-30 23:14:01 +00:00
Zeev Suraski
3ee8c8f0da This should fix the implode() problem 1999-07-30 22:17:51 +00:00
Andi Gutmans
e3246872e3 -Tiny fix 1999-07-29 04:03:03 +00:00
Andi Gutmans
7d0715d53d - Added function documentation prototypes. Thanks to Egon Schmid for
straightening me out :)
1999-07-29 03:48:29 +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
Andrey Hristov
5aa3eff94f Fix link functions problem. 1999-07-28 13:59:35 +00:00
Danny Heijl
d69ec49dc6 Make it compile again 1999-07-28 11:26:58 +00:00
Philippe Verdy
e1b5df4b55 Commited changes in php3 function/soundex 1.32 1999-07-28 07:04:26 +00:00
Andrey Hristov
07d691174b Symbol work. 1999-07-27 19:44:46 +00:00
Andi Gutmans
71ffa09f41 - strttotime is compiled in on win32 again. 1999-07-27 17:30:45 +00:00
Andrey Hristov
a99ccfc6ef Oops. 1999-07-27 17:17:05 +00:00
Andrey Hristov
c6840056a9 More symbol work. 1999-07-27 17:09:35 +00:00
Andrey Hristov
15d87d2452 check for nKeyLength not arKey 1999-07-27 16:26:30 +00:00
Andrey Hristov
cd0dd562f0 Fix for bug #1887. 1999-07-27 16:17:58 +00:00
Andrey Hristov
ad671669ce Fix for bug #1891 1999-07-27 13:40:54 +00:00
Danny Heijl
3bea592273 >... If you can, please update your module to use these macros.
I could, so I did.
1999-07-27 11:29:36 +00:00
Andrey Hristov
1b2c932cc2 More symbol work.
I've defined a few macros to help with module/request init/startup function definitions.
Basically:

PHP_MINIT_FUNCTION(module)
PHP_MSHUTDOWN_FUNCTION(module)
PHP_RINIT_FUNCTION(module)
PHP_RSHUTDOWN_FUNCTION(module)
PHP_MINFO_FUNCTION(module)

These will expand to proper function prototypes.

Now to specify these in the module entry, use:

PHP_MINIT(module)
PHP_MSHUTDOWN(module)
PHP_RINIT(module)
PHP_RSHUTDOWN(module)
PHP_MINFO(module)

I've updated all modules in ext/standard and everything from ext/apache to ext/db.
If you can, please update your module to use these macros.
1999-07-26 20:09:08 +00:00
Andi Gutmans
8f51f72dc6 - Fix the new operator incompatibility.
- I commented PHP_FUNCTION(strtotime) in datetime.c because it stopped
  win32 from compiling. This needs to be fixed!!!
- Check out libzend to compile the tree now.
1999-07-26 16:57:06 +00:00
Stig Bakken
bc781c94ed "gd", not "-lgd" 1999-07-25 15:06:49 +00:00
Stig Bakken
c901d4c528 use AC_ADD_ macros 1999-07-25 14:46:33 +00:00
Andrey Hristov
736f4831a5 A bunch of grunt work updating function entries and declarations. 1999-07-24 22:16:54 +00:00
Sascha Schumann
f6f0f285cc overlooked them 1999-07-24 21:40:37 +00:00
Zeev Suraski
68e32f6ac3 * Make Win32 build work again
* Make error_reporting value prior to the standard initialization be
  set so that errors show up
1999-07-24 16:52:00 +00:00
Zeev Suraski
2b2bda778e * Fix a warning
* Update ChangeLog
1999-07-24 14:36:48 +00:00
Danny Heijl
4199c6d6a0 Get rid of most compiler warnings. 1999-07-24 14:28:29 +00:00
Rasmus Lerdorf
d9f6ea2fc3 Fix broken build 1999-07-24 02:43:22 +00:00
Rasmus Lerdorf
8de073782c Bring rand.c up to date 1999-07-24 02:30:37 +00:00
Sascha Schumann
cd8d7c7c8a fix for missing include path in CFLAGS 1999-07-24 00:56:56 +00:00
Andrey Hristov
974f278257 Added function entry for similar_text(). 1999-07-23 22:47:24 +00:00
Andrey Hristov
244cc30c14 Added function entry for strip_tags. 1999-07-23 22:35:14 +00:00
Andrey Hristov
a100c51f51 Fixed a bug in WDDX that occured when a number was passed in instead
of a variable name.
1999-07-23 21:21:33 +00:00
Andrey Hristov
9dd45ec800 Ported strtotime() function. 1999-07-23 19:51:27 +00:00
Zeev Suraski
76bef75836 Fix bug #1807 (requires libzend update) 1999-07-23 16:03:18 +00:00
Sascha Schumann
33f30aee64 gdttf update 1999-07-23 15:56:47 +00:00
Stig Bakken
6d0fa9bdae updated the docstring for --with-xml 1999-07-23 15:20:48 +00:00
Zeev Suraski
00238ad1ba Added check for freetype.h 1999-07-23 15:18:37 +00:00
Danny Heijl
f110b97975 New ini-stuff incorporated. Porting to PHP4 and ZTS hopefully complete. 1999-07-23 09:34:14 +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
Sascha Schumann
c640f3d8c8 Implement additional heuristic for session id search. Now looks into
REQUEST_URI as well.
1999-07-22 17:55:13 +00:00
Andrey Hristov
64dae03eea -Ported all remaining date() options
-Made array_walk() work somewhat, but it's not
 possible to change array values from inside the
 walk function yet
1999-07-22 15:15:41 +00:00
Andrey Hristov
a5a07063d2 *** empty log message *** 1999-07-22 14:22:32 +00:00
Danny Heijl
925d48dae6 Blobs now working too. 1999-07-22 09:58:02 +00:00
Danny Heijl
dc7cffcd43 Blobs don't work, hash problems. 1999-07-22 07:31:27 +00:00
Stig Bakken
d9f52fe0a7 First cut at standard way of making dynamically loadable extensions on UNIX.
Examples on how to test:

 ./configure --with-xml              static
 ./configure --with-xml=/opt         static
 ./configure --with-xml=shared       shared
 ./configure --with-xml=shared,/opt  shared

The difference between these two is that when the extension is shared, it
is not merged into libphpext.a.  The shared extension is currently always
built.  I can't find a way to do just one or the other with automake/libtool,
if someone has a clever idea, please come forward. :-)

"make install" installs the .so (as well as a lot of other cruft) in
$prefix/lib/php.
1999-07-21 21:56:25 +00:00
Andrey Hristov
e6fadabf43 Fix for bug #1806 1999-07-21 19:55:24 +00:00
Andrey Hristov
56402ec375 *** empty log message *** 1999-07-21 19:47:40 +00:00
Danny Heijl
f857a77e2f Informix extension now works but php_ini stuff still needs rewriting. 1999-07-21 18:23:13 +00:00
Sascha Schumann
9a910ed353 sync with 1.133 1999-07-21 16:12:13 +00:00
Sascha Schumann
f78caff762 merge in change from php3 1999-07-21 15:39:28 +00:00
Sascha Schumann
b33d0fd7e7 initial import of DBA 1999-07-21 15:12:32 +00:00
Sascha Schumann
3843821d11 the ; is superflicious 1999-07-21 15:12:22 +00:00
Stig Bakken
f9b0f60098 that's better 1999-07-21 14:49:17 +00:00
Stig Bakken
57f0f15b9f Debian fixes 1999-07-21 14:43:12 +00:00