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
Stig Bakken
2ab934bfc2
fix to reiterate that one should _always_ use braces around if/else/for/while
1999-07-21 14:27:05 +00:00
Danny Heijl
575d8541db
Started php4/ZTS port of Informix driver.
1999-07-21 12:48:35 +00:00
Sascha Schumann
58bb4adae1
use the same version as in php3
1999-07-21 09:31:48 +00:00
Sascha Schumann
63f7648fdc
use reverse lookup array, submitted by bfranklin@dct.com, #1755
1999-07-21 09:02:05 +00:00
Sascha Schumann
a7e3a952e7
fix for #1748
1999-07-21 08:55:20 +00:00
Andrey Hristov
6b82192bf7
Added locale support.
1999-07-20 20:57:04 +00:00
Mike Gerdts
72f675be50
exec() can now properly handle lines longer than (EXEC_INPUT_BUF-2) bytes.
...
Lines being returned via the array that that contain only "\n" now are
trimmed down to "" to be consistent with exec's whitespace trimming
behavior for all other lines.
1999-07-20 20:19:58 +00:00
Andrey Hristov
3ff606a934
Added 'n' option to date().
1999-07-20 19:11:32 +00:00
Andrey Hristov
2d1b6f0801
Added headers_sent() function
1999-07-20 18:03:27 +00:00
Andrey Hristov
f8fdee1c66
Fix for bug #1750 .
1999-07-20 16:59:30 +00:00
Egon Schmid
ea28db8625
The last forgotten prototypes I know.
1999-07-19 20:37:17 +00:00
Andrey Hristov
40de81a5d9
Updated status
1999-07-19 20:27:49 +00:00
Andrey Hristov
ced8e51328
Ported WDDX module.
1999-07-19 20:24:03 +00:00
Egon Schmid
b64eaf737b
It's in PHP 3 and 4.
1999-07-19 20:09:05 +00:00
Egon Schmid
5fdd45695b
Test, will document this soon.
1999-07-19 19:10:13 +00:00
Andrey Hristov
851ee7b598
Moving dlist stuff into core.
1999-07-19 18:58:44 +00:00
Zeev Suraski
c1853b5628
*** empty log message ***
1999-07-19 18:37:42 +00:00
Andrey Hristov
d1b1e3513f
Kill compiler warnings.
1999-07-19 15:07:17 +00:00
Danny Heijl
951f65f6ed
license change
1999-07-19 14:24:09 +00:00
Sascha Schumann
afb16a5818
update
1999-07-19 14:07:10 +00:00
Andrey Hristov
18579a5f64
More credits.
1999-07-19 13:35:13 +00:00
Sascha Schumann
3b7d588f40
more to do
1999-07-18 01:20:38 +00:00
Sascha Schumann
e5cfc70f7d
add session config to php.ini and adapt the naming scheme for it
1999-07-18 01:00:42 +00:00
Andrey Hristov
715dc6b23a
Update credits a bit.
...
"Overall Work" line should probably be extended.
1999-07-17 20:38:14 +00:00
Andrey Hristov
3335c8ea0d
-Kill compile warnings in apache.c
...
-Make preg_grep() work with copies of array entries
1999-07-17 20:03:10 +00:00
Andrey Hristov
4518351648
Proto change
1999-07-17 19:23:32 +00:00
Zeev Suraski
5a3e983fa4
*** empty log message ***
1999-07-17 19:22:27 +00:00
Zeev Suraski
614b4b781e
I was sure I committed these already. Weird
1999-07-17 19:17:42 +00:00
Zeev Suraski
cbcf7c66bc
*** empty log message ***
1999-07-17 17:33:42 +00:00
Sascha Schumann
fc268e1c7e
void some warnings
1999-07-17 12:56:38 +00:00
Zeev Suraski
3b142d5a3d
We'll have to live without these files somehow.
1999-07-17 10:34:01 +00:00
Zeev Suraski
51aa31b671
Dummies
1999-07-17 10:15:42 +00:00
Zeev Suraski
35b3b03fe4
We need to disable bcmath by default
1999-07-17 10:14:04 +00:00
Zeev Suraski
8a15917de1
Get the Sybase modules uptodate
1999-07-16 22:00:53 +00:00
Zeev Suraski
a316ff791c
*** empty log message ***
1999-07-16 21:53:17 +00:00
Andrey Hristov
459ed2b1ad
A little change in how array_splice/array_slice handle length parameter.
...
Makes it compatible with Perl.
1999-07-16 20:47:20 +00:00
Andrey Hristov
7201cdac96
Updated the functionality of array_splice.
1999-07-16 20:08:06 +00:00
Sascha Schumann
36cf6cf22a
unnecessary, breaks the build
1999-07-16 18:23:38 +00:00
Sascha Schumann
68b0f0b418
This is so ugly, I hate myself for committing it
1999-07-16 18:05:24 +00:00
Zeev Suraski
1671424a5f
Get the LDAP module uptodate
1999-07-16 18:01:55 +00:00
Sascha Schumann
e20424e45f
fix detection
1999-07-16 17:44:11 +00:00
Zeev Suraski
a6a09f7e98
*** empty log message ***
1999-07-16 17:27:42 +00:00
Zeev Suraski
916f2f2927
*** empty log message ***
1999-07-16 17:26:16 +00:00
Zeev Suraski
58a6d48014
Get postgresql module uptodate
1999-07-16 17:19:11 +00:00
Zeev Suraski
dc09865f4a
Oops #2
1999-07-16 17:16:31 +00:00
Zeev Suraski
f17bbb9014
Oops
1999-07-16 17:10:02 +00:00
Zeev Suraski
4e6c2b468c
* Get the mSQL module up to date
1999-07-16 17:06:48 +00:00
Zeev Suraski
2c91f1d91b
Minor fix
1999-07-16 16:50:49 +00:00
Zeev Suraski
e7e2af5d78
Fix TS version
1999-07-16 16:09:01 +00:00
Zeev Suraski
c5724cbd14
License update
1999-07-16 13:13:16 +00:00
Sascha Schumann
42736999bc
define sid to "", if we are in cookie mode
1999-07-15 21:14:46 +00:00
Sascha Schumann
2a39219142
we don't need php_sid
1999-07-15 19:51:13 +00:00
Sascha Schumann
30c131c8ae
that should be included 1st
1999-07-15 19:43:26 +00:00
Sascha Schumann
4ea29a808d
define SID appropiately
1999-07-15 19:37:35 +00:00
Sascha Schumann
68de8a2842
that should be included 1st
1999-07-15 19:31:39 +00:00
Rasmus Lerdorf
895cab2838
A useless check
1999-07-15 12:42:46 +00:00
Zeev Suraski
b7fe07d8dc
php3.ini -> php.ini
1999-07-14 23:34:30 +00:00
Zeev Suraski
e883283590
* Update logos
...
* Move from PreAlpha 1 to Beta 1.
1999-07-14 23:33:00 +00:00
Rasmus Lerdorf
75f62dc415
How did this ever work without this #define ?
1999-07-14 21:49:35 +00:00
Rasmus Lerdorf
2beb929311
Remove some useless stuff
1999-07-14 19:21:43 +00:00
Rasmus Lerdorf
0fa438a22a
Fix imap build problem
1999-07-14 19:16:59 +00:00
Andi Gutmans
3e6bce59b3
- Add a bitwise flag to phpinfo()
...
- Import a draft of the new PHP license
1999-07-14 16:02:10 +00:00
Rasmus Lerdorf
d22cbad17d
Fix logic here - the error message was bogus when it couldn't find the
...
imap lib
1999-07-14 15:22:02 +00:00
Rasmus Lerdorf
2b2b3147de
Finish porting aspell - tested and works ok now
1999-07-12 19:18:07 +00:00
Andrey Hristov
be66f224b0
*** empty log message ***
1999-07-12 17:16:14 +00:00
Thies C. Arntzen
9b85ba490e
par with 3.0
1999-07-12 13:26:56 +00:00
Thies C. Arntzen
d4fb7d9e37
fixed mem-problem
1999-07-12 11:49:32 +00:00
Thies C. Arntzen
5a288ffdc8
small php4 fixes
1999-07-12 10:36:19 +00:00
Zeev Suraski
c43c235427
Don't touch refcount and EA directly
1999-07-09 20:45:55 +00:00
Zeev Suraski
5f62c347c7
Step 2:
...
Rename is_ref to EA
1999-07-09 17:44:41 +00:00
Zeev Suraski
3a9cb0220c
Step 1 in nuking the garbage collector:
...
- Change the hash destructor to return int
1999-07-09 17:36:12 +00:00
Rasmus Lerdorf
db1e0bc820
Add Aspell module
1999-07-09 14:56:33 +00:00
Andrey Hristov
cef4df1fee
Reduce clutter a bit.
1999-07-08 21:42:29 +00:00
Thies C. Arntzen
ff9407b56b
on par with latest php3
1999-07-08 14:12:07 +00:00
Andrey Hristov
e88d121be1
Fix a memory leak by not allowing session_start() to be called more than once.
1999-07-07 21:50:33 +00:00
Zeev Suraski
5baaa716dc
Support PCRE under Win32
1999-07-06 19:49:48 +00:00
Zeev Suraski
8ee9fd5768
avoid two copies of pcre.c in the repository
1999-07-06 19:24:13 +00:00
Andrey Hristov
7aa981f5b7
Correct option caching
1999-07-05 15:25:51 +00:00
Thies C. Arntzen
0e3f5a69f7
ups
1999-07-05 09:33:47 +00:00
Thies C. Arntzen
8788f30c12
fixed mem-leak
1999-07-05 08:49:13 +00:00
Thies C. Arntzen
ad0076ee53
ported IPTC fro php3
1999-07-05 07:42:07 +00:00
Thies C. Arntzen
e9cb3539ad
added RESOURCE-returning
1999-07-05 07:03:44 +00:00
Thies C. Arntzen
cab8290b8e
up to php3 version
...
returns resources now!
1999-07-05 06:29:04 +00:00
Thies C. Arntzen
745c5efc37
updated to latest php3
1999-07-04 13:30:13 +00:00
Zeev Suraski
dbb24c2e0e
*** empty log message ***
1999-07-03 23:43:02 +00:00
Sascha Schumann
c56116029d
add missing include
1999-07-03 19:08:03 +00:00
Sascha Schumann
9fbbc53008
ignore this
1999-07-03 18:31:58 +00:00
Sascha Schumann
e08182156e
there must be a better way
1999-07-03 02:36:56 +00:00
Thies C. Arntzen
45386d8af4
added some refcount stuff
1999-07-02 15:45:52 +00:00
Thies C. Arntzen
d00b516f84
losses memory like hell, but seems to work!
...
3 things (this is a bad hack as of now!):
- xml.c uses _php3_strtoupper
is #include "../standard/php3_string.h" the right way to get the prototype?
- i've copied php3i_long_pval/php3i_string_pval from the php3 tree into
xml.c (this is defnetly WRONG, but where do i find those?)
- as php3tls_pval_destructor is not available in zend, i've
#define php3tls_pval_destructor(a) pval_destructor(a) which is maybe not what we want!
1999-07-02 15:31:02 +00:00
Sascha Schumann
c42305c54e
fix from php3
1999-07-02 14:37:36 +00:00
Sascha Schumann
03e16899bc
someone please try whether the autoconf stuff works
...
for sybase and sybase-ct - I've neither one.
1999-07-01 15:48:57 +00:00
Sascha Schumann
2d185cc7e2
maybe fix, following Joey's description
1999-07-01 15:42:29 +00:00
Sascha Schumann
973f679df0
--with-zlib should work now
1999-07-01 15:39:58 +00:00
Thies C. Arntzen
fe4efa91c3
changed boolean behaviour:
...
var_dump(
1999-07-01 09:26:05 +00:00
Sascha Schumann
2e690ac4b5
some additional consts
1999-07-01 05:47:06 +00:00
Sascha Schumann
2397e5d419
vpath thingie
1999-07-01 05:45:58 +00:00
Sascha Schumann
1f02914005
implement a simple API in the case someone wants to define his/her own serialization stuff
1999-07-01 05:45:48 +00:00
Zeev Suraski
258d427647
No need for a PSLS_FETCH() if PSLS_D/PSLS_DC are supplied as function arguments
1999-06-29 22:08:07 +00:00
Andrey Hristov
3e5f7a806f
*** empty log message ***
1999-06-29 15:40:11 +00:00
Andrey Hristov
88ed2002da
Added session expiration.
1999-06-29 15:39:59 +00:00
Thies C. Arntzen
d5fc465a67
synced with 3.0.11
...
ora_bind works!
1999-06-29 15:16:38 +00:00
Andrey Hristov
a6aacfd2b6
Added session_is_registered(varname) function.
1999-06-28 15:46:56 +00:00
Andrey Hristov
17f725d21a
Ported MYSQL_NUM, MYSQL_ASSOC, and MYSQL_BOTH additions from php3.
1999-06-28 15:08:28 +00:00
Andrey Hristov
26a7fe78f2
oops
1999-06-28 13:46:58 +00:00
Andrey Hristov
db400222ff
*** empty log message ***
1999-06-28 13:39:52 +00:00
Sascha Schumann
8ba3889572
port
1999-06-27 21:46:34 +00:00
Sascha Schumann
e205a6749d
more porting
1999-06-27 21:45:06 +00:00
Sascha Schumann
fa7cba7d5d
port over from php3
1999-06-27 21:23:17 +00:00
Sascha Schumann
3b36670df1
add dbase_replace_record
1999-06-27 21:15:12 +00:00
Zeev Suraski
d1169e735e
Win32/general patches
1999-06-26 23:21:18 +00:00
Zeev Suraski
d4f24f19ad
* Get rid of another request_info element (filename)
...
* CGI through Apache should work now
1999-06-26 19:14:26 +00:00
Zeev Suraski
320541430b
*** empty log message ***
1999-06-26 18:01:21 +00:00
Andrey Hristov
d41af4b7eb
*** empty log message ***
1999-06-23 15:04:21 +00:00
Thies C. Arntzen
18962f1993
gettype now reports "boolean" correct
1999-06-22 21:37:43 +00:00
Andrey Hristov
df86725019
Making function accessible.
1999-06-22 19:37:26 +00:00
Andrey Hristov
226f75e0f3
Making the function accessible.
1999-06-22 19:36:52 +00:00
Andrey Hristov
31c8ec4c80
Made preg_split() consistent with split().
...
Added a new /e modifier for preg_replace
Kill a warning in pcrelib.
1999-06-22 14:56:32 +00:00
Thies C. Arntzen
5fa6882567
urlencode and decode return an empty-string if the input-string is empty (matches php3 behaviour "more" closly)
...
Please read my previous mail and comment!
1999-06-22 13:35:28 +00:00
Danny Heijl
bc50e68a1b
Bad html in ifx_htmltbl_result().
1999-06-22 07:14:55 +00:00
Andrey Hristov
2b8c85bd0b
Backing out changes.
1999-06-21 23:07:46 +00:00
Thies C. Arntzen
8052667684
fixed implode "again" -
1999-06-21 15:57:20 +00:00
Sascha Schumann
43a466a076
Introduce AC_ADD_* macros
...
The use of AC_EXPAND_PATH makes it possible to continue
to use relative paths when configuring PHP.
(e.g. --with-apache=../apache-1.3.x works again)
1999-06-20 18:52:46 +00:00
Zeev Suraski
63a845f2f6
*** empty log message ***
1999-06-19 13:13:28 +00:00
Zeev Suraski
f88464ee6d
Win32/ZTS compiles again
1999-06-19 13:04:55 +00:00
Andrey Hristov
cd74a455dd
for struct sockaddr
1999-06-18 15:54:14 +00:00
Stig Bakken
467523bac5
Apply Sascha's fsock fixes to php4.
1999-06-18 13:42:21 +00:00
Stig Bakken
117a2fba07
* fixed some #if/#ifdef issues
...
* hand-patched in php3 changes from 3.0.6 to HEAD in these files:
fopen-wrappers.[ch] ext/standard/file.[ch] ext/standard/fsock.[ch]
ext/standard/php3_string.h ext/standard/string.c
* added some new file/socket macros for more readable code:
FP_FGETS(buf,len,sock,fp,issock)
FP_FREAD(buf,len,sock,fp,issock)
FP_FEOF(sock,fp,issock)
FP_FGETC(sock,fp,issock)
1999-06-16 17:06:53 +00:00
Stig Bakken
8eec7a022f
reversing another patch that slipped
1999-06-15 21:56:11 +00:00
Stig Bakken
8c4411b5da
* reverse fsock/string import patches
1999-06-15 21:51:00 +00:00
Stig Bakken
336392ea6c
* now using php4.ini instead of php3.ini
...
* re-imported fopen-wrappers, fsock and string code from php3
NB! I have not tested all of the imported functions yet.
1999-06-15 17:06:22 +00:00
Rasmus Lerdorf
bdbdaa4369
gmmktime() fix
1999-06-15 12:31:29 +00:00
Zeev Suraski
96bfbc7904
First attempt at moving the old RFC1867 support to the right place
1999-06-12 17:50:39 +00:00
Sascha Schumann
be14ccadf1
it's obj.properties, not ht
1999-06-11 19:29:10 +00:00
Andrey Hristov
8c43c5f708
Fix up var.c a bit.
1999-06-11 15:54:06 +00:00
Rasmus Lerdorf
f8bac0f8ad
Same Fix here
1999-06-11 12:48:22 +00:00
Zeev Suraski
1798a0183a
* Fix a buglet in the session module
...
* Make some renames in the session module - avoid having a function called 'delete'
so that we don't piss any C++ compilers. Also rename the {startup,shutdown}_globals
to {startup,shutdown}_session_globals, so that they're a bit less general names,
and made them static.
* Remove uselss variables
1999-06-11 09:23:00 +00:00
Sascha Schumann
83de88e90c
make serialize work
...
unserialize does not work yet
1999-06-10 15:34:20 +00:00
Andrey Hristov
2bb01b6f81
Fixing serialize a bit.
1999-06-10 15:13:26 +00:00
Andrey Hristov
3b1843bc9f
Added preg_grep() function.
1999-06-10 14:41:38 +00:00
Andrey Hristov
f7072fbf87
Make array_shift/array_pop work better.
1999-06-09 22:03:15 +00:00
Andrey Hristov
b331ead5bf
A fix for a fix.
1999-06-09 21:21:27 +00:00
Andrey Hristov
3d45dd58b8
Fixed a bug in preg_split.
...
Fixed a bug in array_shift/array_pop.
1999-06-09 21:13:05 +00:00
Thies C. Arntzen
a3464b7c11
oci8 to 3.0.9
...
implode works!
1999-06-09 19:47:06 +00:00
Andrey Hristov
835b0d8823
*** empty log message ***
1999-06-09 15:39:56 +00:00
Andrey Hristov
2a64925a67
Fixed a bug in preg_replace.
1999-06-09 15:02:57 +00:00
Thies C. Arntzen
e5da9fc10a
up to 3.0.9
1999-06-09 10:40:08 +00:00
Danny Heijl
f3d179ff99
resync informix driver with php 3.09 version
1999-06-09 07:44:52 +00:00
Sascha Schumann
4b023c157a
better scaling for large servers using many session ids
1999-06-07 19:51:54 +00:00
Andrey Hristov
bc1e4a5a10
Don't set is_ref in _phpi_splice()
...
More checking in array_merge()
Added keys() and values() array functions.
1999-06-07 18:52:20 +00:00
Sascha Schumann
d8a9548cb2
- some cleanups
...
- add gc logic
- add session_destroy()
1999-06-07 16:43:24 +00:00
Zeev Suraski
b886985d63
Fix an ereg_replace() crash bug
1999-06-07 15:01:25 +00:00
Zeev Suraski
34b3dc9b47
- Fix PSLS issues
...
- Add a standard info function for the session module (use them!)
- Replace PATH_MAX with MAXPATHLEN (that's our platform indepedent constant)
1999-06-06 19:53:59 +00:00
Sascha Schumann
82806ea254
one C too much
1999-06-06 19:26:31 +00:00
Sascha Schumann
e9b28fe29c
avoid unnecessary PSLS_FETCH() in internal functions
1999-06-06 19:25:39 +00:00
Andi Gutmans
f5dbfbae84
-Init tsrm on minit
1999-06-06 18:56:11 +00:00
Andi Gutmans
ed97964fbe
- Use PS() everywhere.
1999-06-06 18:39:48 +00:00
Andi Gutmans
c329da5d25
- Make sessions compile on win32 but it still doesn't link.
1999-06-06 18:36:42 +00:00
Andi Gutmans
c5fd7244dd
- Add some *_FETCH()'s. Still some work to be done so that it'll compile on win32.
1999-06-06 18:22:17 +00:00
Sascha Schumann
605756de7f
- s/encoded/encode/
...
- new TODO entry
1999-06-06 15:18:51 +00:00
Andi Gutmans
d5dc2cd22c
- Remove the is_ref =1 from the push() function.
1999-06-06 15:00:49 +00:00
Sascha Schumann
a821a185e4
add some protos
1999-06-06 14:19:55 +00:00
Sascha Schumann
2f79ba1abf
add some thoughts
1999-06-06 14:02:13 +00:00
Sascha Schumann
19a2a02f8e
- auto startup when calling register
...
- auto startup using a configuration option
1999-06-05 22:24:59 +00:00
Sascha Schumann
f830cf7d15
moving start code into its own function
1999-06-05 22:15:49 +00:00
Andrey Hristov
f8f8defb42
Added array_merge() function.
1999-06-05 21:19:25 +00:00
Sascha Schumann
2db1d61718
SAPI does not want line endings
1999-06-05 20:51:29 +00:00
Andrey Hristov
421414df03
Added push(), pop(), shift(), unshift(), splice(), and slice() array functions.
...
The first 5 work like their Perl counterparts. slice() returns a chunk of the array
specified by offset and length arguments.
Backport to PHP3 and docs will be coming soon.
1999-06-05 20:43:36 +00:00
Sascha Schumann
a1b42e3f5e
first import of session module
1999-06-05 19:52:58 +00:00
Zeev Suraski
e586468a4e
Not sure that's the right fix, but at least it fixes the symptom
1999-06-05 13:56:18 +00:00
Andrey Hristov
dbfeaabb16
Added preg_quote() function.
1999-06-04 13:56:23 +00:00
Andrey Hristov
c7a606c4a3
*** empty log message ***
1999-06-04 13:37:44 +00:00
Zeev Suraski
1ecca4b8e8
Fix UNIX MySQL build
1999-06-04 12:51:41 +00:00
Zeev Suraski
3cad348509
* Add a new workspace for dynamic PHP extensions.
...
* Add a few functions to PHP's API.
* Get the MySQL extension up-to-date and thread safe.
* Add a project for building the MySQL extension under Win32.
1999-06-04 10:45:54 +00:00
Andrey Hristov
0f99eeb29f
function dir doesn't exist anymore
1999-06-01 21:01:02 +00:00
Andrey Hristov
aea7498779
*** empty log message ***
1999-06-01 20:31:39 +00:00
Andi Gutmans
250d803c31
- Fix for exec to use API
1999-06-01 16:41:56 +00:00
Andi Gutmans
f153896de5
*** empty log message ***
1999-05-31 17:41:41 +00:00
Andrey Hristov
aba3ea97cd
preg_match_all() now returns the number of global matches.
1999-05-30 14:48:39 +00:00
Sascha Schumann
577340bb9f
zend_hash_merge was changed
1999-05-30 11:57:28 +00:00
Andrey Hristov
a88b37788e
Updated preg_split().
1999-05-29 20:45:00 +00:00
Andrey Hristov
70dc46892a
Fix preg_match_all to do proper matching with \b.
1999-05-29 20:04:05 +00:00
Andrey Hristov
9c970e1910
Fixed PCRE so that global matching with patterns with \b works.
1999-05-29 19:38:50 +00:00
Zeev Suraski
274f3aa727
Fix
1999-05-29 18:28:46 +00:00
Sascha Schumann
03d2a11e27
more VPATH work
1999-05-29 18:11:49 +00:00
Sascha Schumann
b219d491b9
.
1999-05-29 12:15:04 +00:00
Zeev Suraski
0eb1498fa8
* Get Apache module to compile again with the regex stuff.
...
* Get Apache to propertly work with POST, and some SAPI fixes
1999-05-28 22:41:48 +00:00
Sascha Schumann
dfce358a5b
that seems to fix it
1999-05-28 21:41:17 +00:00
Sascha Schumann
7401ef12fb
Either I'm playing the EG(symbol_table) game wrong or var.c leaks memory
...
when unserializing arrays/objects. Still testing
1999-05-28 21:27:19 +00:00
Andrey Hristov
3fe94e5b37
-Modified PCRE library slightly to do what needs to be done
...
-Updated preg_replace() code to handle stuff properly
-Removed ability to specify external PCRE library source to link against
(since our bundled version is patched now)
1999-05-28 20:54:52 +00:00
Zeev Suraski
cd789db6f2
*** empty log message ***
1999-05-28 13:28:50 +00:00
Zeev Suraski
7a167cd0c1
* Use new Zend macros for standardized definition of classes.
...
* Reverse bogus shutdown order.
* Use the new object/class support of Zend to make the dir functions work again.
1999-05-28 11:09:39 +00:00
Andrey Hristov
a5138d2724
We don't need those there.
1999-05-27 14:02:29 +00:00
Andrey Hristov
e10e4dbe10
Really fix the configuration now so that it's possible to compile both
...
against the bundled PCRE library and the one external to the source tree.
Crossing my fingers while Zeev compiles this. :)
1999-05-27 13:59:39 +00:00
Sascha Schumann
5d0a7599a9
- fix CGI build (at least)
1999-05-27 01:34:18 +00:00
Zeev Suraski
36947fc45a
Fix pcre build
1999-05-27 01:19:00 +00:00
Andrey Hristov
66f850e5b7
-Added PCRE library source
...
-Updated configuration process
1999-05-26 21:47:57 +00:00
Andrey Hristov
d73c638526
Added preg_split. Same syntax as regular split().
1999-05-26 18:59:04 +00:00
Andrey Hristov
ff29e85724
Fixing a couple of long standing bugs.
1999-05-26 18:45:53 +00:00
Andrey Hristov
0062ae6218
A few changes here.
...
First of all, as per extensive discussion on the list, the functions are now
prefixed with "preg" instead of "pcre".
Secondly, global matching is now possible using preg_match_all. Please, give
suggestions on a better name if this one doesn't sit well with you. Possible
names are preg_global_match and preg_gmatch.
preg_match_all takes 4 arguments: a regex pattern, a subject string,
the array for capturing subpatterns, and a parameter that tells how the results
in the subpatterns array are arranged.
Basically, preg_match_all will go through the subject string and try to capture
all the matches that it finds, not just the first one like preg_match.
4th parameter can be PREG_PATTERN_ORDER (default) or PREG_SET_ORDER.
Example:
preg_match_all("|</?([^>]+)>|", "<div align=left>a test</div>", $out, PREG_PATTERN_ORDER);
This returns results so that $out[0] is an array of full pattern matches, $out[1] is an array
of first captured subpattern matches, and so on.
$out[0] -> ("<div align=left>", "</div>")
$out[1] -> ("div align=left", "div")
Example:
preg_match_all("|</?([^>]+)>|", "<div align=left>a test</div>", $out, PREG_SET_ORDER);
This returns results so that $out[0] is an array of first full pattern match and subpatterns,
$out[1] is an array of second full pattern match and subpatterns.
$out[0] -> ("<div align=left>", "div align=left")
$out[1] -> ("</div>", "div")
If anyone has a better name for these PREG_ constants and also which one should be the default,
I'd like to hear it.
1999-05-26 15:22:02 +00:00