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
Andrey Hristov
6155d91e7a
Just a little sanity check.
1999-05-25 21:47:58 +00:00
Zeev Suraski
0eb500cef5
Thou shalt use the API, and thou shalt be safe
1999-05-23 20:32:19 +00:00
Andrey Hristov
57b22c8b64
Some comments.
1999-05-22 19:46:27 +00:00
Andrey Hristov
912f17d278
Added ability to pass array parameters to pcre_replace.
1999-05-22 19:14:57 +00:00
Sascha Schumann
13c3c4012e
fix compile issues in LDAP/XML exts
1999-05-22 16:12:09 +00:00
Zeev Suraski
a08e3925b1
Time to rename the child
1999-05-22 09:24:21 +00:00
Sascha Schumann
00cb03bd49
add support for mhash 0.5.0
...
see http://sasweb.de/mhash/
1999-05-21 20:09:23 +00:00
Andrey Hristov
e3a70c1f04
-Added regex cache
...
-Made module thread-safe
1999-05-21 19:27:44 +00:00
Andrey Hristov
be9dc58cfe
Get rid of debug printf's.
1999-05-21 13:29:05 +00:00
Andrey Hristov
17bbbf2963
Initial check-in of PCRE (Perl Compatible Regular Expressions) extension.
...
PCRE library can be found at ftp://ftp.cus.cam.ac.uk/pub/software/programs/pcre/
config.m4 will be updated to be more robust later on.
perl_match() takes a regular expression, the source string, and the array
for subpattern matches.
perl_replace() takes a regular expression, the search string, and the replacement
string.
Regular expression is specified using delimiters and options. Example:
perl_match("/<[a-z]*>/i", $text, $tags);
More stuff is coming soon.
1999-05-21 13:17:23 +00:00
Sascha Schumann
b57dc27595
- run ext sources through conv_proto
...
- add necessary phpext_*_ptr
1999-05-21 10:06:25 +00:00
Sascha Schumann
4fe8fe715e
merge in some PHP3 stuff
1999-05-21 08:37:48 +00:00
Sascha Schumann
6f06b11679
incorporate YP/NIS support
1999-05-21 08:29:51 +00:00
Sascha Schumann
fb407676a2
- fix compile issues for various packages (dbase, sysv*, zlib)
...
- some cleanup in mhash/mcrypt
1999-05-21 08:20:13 +00:00
Sascha Schumann
0fe7fe30b5
- add phpext_pgsql_ptr
...
- semaphore update for glibc-2.1 systems
1999-05-21 08:04:38 +00:00
Sascha Schumann
672e38da93
Add default path for binary mysql distributions
1999-05-21 07:52:12 +00:00
Sascha Schumann
286fef1ce4
remove debug messages
1999-05-21 07:04:48 +00:00
Sascha Schumann
27fc61c4dc
Apply the fix for feof()
1999-05-20 13:56:19 +00:00
Andi Gutmans
7eef22472c
- Small fixes
1999-05-20 12:06:45 +00:00
Sascha Schumann
db6ce2f2a9
add mhash support
1999-05-16 12:01:25 +00:00
Sascha Schumann
4e08c66771
kill another 64-bit issue.
...
this affected at least md5 which produced wrong values on 64-bit platforms
1999-05-16 11:55:34 +00:00
Sascha Schumann
a37a5e5c4a
char * => unsigned char *
1999-05-16 11:32:51 +00:00
Sascha Schumann
39691bed9e
conv_proto *.[ch]
1999-05-16 11:19:26 +00:00
Sascha Schumann
ed8a7dff62
add fast bin2hex string function
1999-05-16 11:12:23 +00:00
Sascha Schumann
d886b84ef4
kill some compiler warnings
1999-05-16 11:10:41 +00:00
Zeev Suraski
1fb61df8a5
* Include all of the standard modules in internal_functions.c.in. Stig - is that
...
the way you intended it to be? How does the basic_functions module get in there?
* Fix to get MySQL objects working, even though I'll probably make a dedicated
MySQL object in the future.
1999-05-14 18:25:16 +00:00
Zeev Suraski
5eaed486e1
* HTTP-auth bugfix
...
* Patch the regex thread safe code to compile in thread safe mode
1999-05-13 15:54:49 +00:00
Zeev Suraski
52ac2e67c1
Enable Apache HTTP Auth
1999-05-12 22:49:23 +00:00
Andrey Hristov
89a56a139b
It's been there long enough.
1999-05-12 17:29:51 +00:00
Thies C. Arntzen
6c2c3a9587
compiles
1999-05-12 16:12:22 +00:00
Sascha Schumann
a4d20864a6
- regex cache (needs some work)
...
- str_replace changes from php3
1999-05-12 15:40:15 +00:00
Thies C. Arntzen
3031862b24
up-to-date with 3.0.8
1999-05-12 14:28:01 +00:00
Thies C. Arntzen
dc8d4f89c7
move oci8 from oracle to it's own ext-directory - configure stuff needs more work - but it configures and compiles
1999-05-12 14:21:38 +00:00
Thies C. Arntzen
f04567b09e
builds and configures again
1999-05-12 13:44:09 +00:00
Rasmus Lerdorf
fbeeb8f29c
substr() fix
1999-05-12 12:53:45 +00:00
Rasmus Lerdorf
43d93b6533
substr() fix for PHP4 as well
1999-05-12 12:43:03 +00:00
Zeev Suraski
ceeb9b38ba
* Finally commit that -q patch
...
* Refine SAPI built in header support
* Use DllMain() in ISAPI to clean after threads and initialize tsrm/sapi as soon as possible.
1999-05-11 20:38:16 +00:00
Andrey Hristov
702829709c
Added compact() function.
1999-05-11 19:31:37 +00:00
Zeev Suraski
ba88c0c47c
* Move unclean_shutdown from PHP to Zend.
...
* The Master/Local headers in the phpinfo() table were reversed.
* Fix a gpc bug
1999-05-11 16:52:58 +00:00
Zeev Suraski
dc5ed5a3fb
beatify Apache's info func
1999-05-11 00:43:46 +00:00
Zeev Suraski
0b77132507
* Get Apache to work. POST doesn't work yet.
...
* There are now -I directives for the absolute path of php4, php4/libzend and the builddir for
the Apache module, so we can #include any php/Zend header.
* Rename config.h to php_config.h
1999-05-11 00:01:47 +00:00
Andrey Hristov
957616cd2d
Minor updates.
1999-05-10 21:14:43 +00:00
Andrey Hristov
d7ed9c1455
Added in_array() function.
1999-05-10 21:10:48 +00:00
Andi Gutmans
4079f914bd
* Make read_post() read input by chunks instead of returning a single string.
...
This will allow us to efficiently support file upload through SAPI in the future.
* Fixes
1999-05-09 18:40:59 +00:00
Zeev Suraski
60fcac8f2a
A few other minor fixes
1999-05-09 13:57:09 +00:00
Zeev Suraski
5ba4b3311d
Several minor fixes
1999-05-09 13:55:15 +00:00
Zeev Suraski
bc415d5a88
* Finalizing the PHP version of SAPI. Support POST and cookies among other things.
...
* Fully implement ISAPI support - POST and cookies among other things.
* Almost completely rewrote phpinfo(). Allow modules to easily display their
information in phpinfo() without modifying phpinfo() itself (prototype for
the module info function was changed, thus the large amount of updated module
files).
* Initial extended SAPI support for Apache, completely untested.
* CGI now uses SAPI fully as well.
1999-05-09 08:48:05 +00:00
Andrey Hristov
a0b94fccbb
-Added extract() function
...
-Added function_exists() function
1999-05-08 21:18:06 +00:00
Andrey Hristov
cd901e8586
-fixed configure.in.in to use genif.sh instead of genif.pl
...
-fixed genif.sh
-updated php3_mysql.h to have phpext_mysql_ptr
1999-05-08 18:16:30 +00:00
Sascha Schumann
2c42111694
add compat #define
1999-05-06 20:54:56 +00:00
Zeev Suraski
465c94ce18
* Optimize _php3_parse_gpc_data() and clean it up, plus fix a couple of Zend related memory leaks in it
1999-05-06 18:09:50 +00:00
Zeev Suraski
6f1c611868
Fixes
1999-05-05 21:29:26 +00:00
Zeev Suraski
aee864e9d8
Get CGI to work with the new headers code.
...
Now Apache is the only interface that doesn't use it.
1999-05-05 21:05:44 +00:00
Andi Gutmans
537cc54acd
Added initial headers support in SAPI
...
*untested*
It definitely broke the thread-safe CGI, it may have broken other stuff as well.
1999-05-05 18:25:20 +00:00
Stig Bakken
9a66ffbaee
* added --enable-thread-safety switch
...
* now generating internal_functions.c
1999-05-03 11:11:23 +00:00
Zeev Suraski
a5ab6b9638
Move path_info to the SAPI structure
1999-05-02 19:54:02 +00:00
Andi Gutmans
5dbe924660
- Make ISAPI hook in as an extension too.
...
- Some work on moving stuff to SAPI.
1999-05-02 18:07:41 +00:00
Sascha Schumann
7e0ee50ed4
func name changes, remove arbitrary limit
1999-05-01 14:41:46 +00:00
Sascha Schumann
8baa86ed51
mcrypt 2.1.18 support, better autoconf checking
1999-05-01 11:14:22 +00:00
Thies C. Arntzen
75bc4593ff
forward port of current oracle.c + fixes to make it actually work;-)!!!
1999-04-30 18:59:15 +00:00
Thies C. Arntzen
23917484ad
oracle links again (at least on linux!!!)
1999-04-30 18:02:09 +00:00
Zeev Suraski
e22a1a08a5
Get the MySQL module to use the new INI mechanism feature
1999-04-28 21:37:54 +00:00
Zeev Suraski
66476011dd
A step towards generalizing the INI mechanism even more
1999-04-28 20:26:33 +00:00
Zeev Suraski
1aaf98e54b
get rid of some stupid warnings
1999-04-28 20:18:25 +00:00
Rasmus Lerdorf
92905543f1
Add fgetcsv() here as well
1999-04-27 13:06:58 +00:00
Zeev Suraski
9b56453566
* Small startup fix
...
* Fix min() and max()
1999-04-26 20:20:12 +00:00
Zeev Suraski
3cd0af11ee
* Get the Apache module to compile again
...
* Get rid of php3_rqst, use SG(server_context) instead (there's still Apache-specific code,
but it nuked a global)
1999-04-26 17:26:37 +00:00
Zeev Suraski
7942eaf381
* Plenty of thread safety and Win32 work.
...
* Changed PHP4 to compile as a DLL, both ISAPI and the the CGI run with the same DLL.
* Switched to using the DLL runtime library under Win32. PHP will NOT work if
compiled against the static library!
* Removed yesterday's php4libts project (with php4dllts, it's obsolete).
This *does* affect thread-unsafe Windows as well - the thread unsafe CGI is also
dependant on the thread-unsafe DLL.
1999-04-26 14:00:49 +00:00
Rasmus Lerdorf
5c09d8e616
Make GD config fail if it doesn't find the gd files
1999-04-25 23:29:52 +00:00
Sascha Schumann
1e54412bdc
PHP3 compat stuff
1999-04-25 22:22:13 +00:00
Sascha Schumann
c62ffa7e01
oops, the 0th byte should be set, too
1999-04-25 21:50:24 +00:00
Sascha Schumann
77baa4ebb4
final change (?), add get_algorithms_name
1999-04-25 21:49:01 +00:00
Sascha Schumann
12a76342ed
make code more compact
1999-04-25 21:32:52 +00:00
Sascha Schumann
5ed41f31af
remove some redundant code
1999-04-25 21:24:07 +00:00
Sascha Schumann
5883d6c221
that was a silly one
1999-04-25 21:13:21 +00:00
Sascha Schumann
22d720e00c
add OFB mode, the final one
1999-04-25 21:11:29 +00:00
Sascha Schumann
a1a41504c7
add mcrypt_create_iv()
1999-04-25 21:09:07 +00:00
Sascha Schumann
6b890309ef
cleanup, add new stream mode, allow IV for CBC mode
1999-04-25 20:44:52 +00:00
Sascha Schumann
7d1ee82d79
add get_(key|block)_size
1999-04-25 20:32:15 +00:00
Sascha Schumann
1db171deb8
add CBC
1999-04-25 17:04:56 +00:00
Sascha Schumann
11fc109ca6
add mcrypt module
1999-04-25 16:50:40 +00:00
Rasmus Lerdorf
c4442ed7c5
Ok, this beast compiles via --with-apxs
...
Not sure if it actually works yet though. I have a feeling there are
some -fpic flags missing in the libzend build. Will test later on
today.
1999-04-25 14:10:23 +00:00
Thies C. Arntzen
9cace18e10
serialize & unserialize working (with mem-leak)
1999-04-25 12:41:18 +00:00
Rasmus Lerdorf
0704064cdf
Argh! That typo took me over an hour to find. Grr..
1999-04-25 04:03:36 +00:00
Rasmus Lerdorf
ecc1dce8f5
libbind check
1999-04-24 21:52:53 +00:00
Sascha Schumann
3b195581db
bugfix port
1999-04-24 20:48:12 +00:00
Sascha Schumann
8036c5fbf1
include some header files explicitly
1999-04-24 20:26:31 +00:00
Thies C. Arntzen
d0d3316128
forward-port of php3-CVS version
...
my 1st zend-array stuff (ocifetchinto) is WORKING!!
1999-04-24 18:54:02 +00:00
Thies C. Arntzen
992e6a429d
made var_dump zend-aware....
...
<?
$ar = array("hallo" => "tubu");
var_dump($ar);
?>
works again!!!
zeev, andi -> please review what i've done!!!
(no i can start "debugging" other stuff, as i often use var_dump)
1999-04-24 18:39:41 +00:00
Zeev Suraski
0818d96c97
A lot of cleanups... Removed old thread-safe code and other redundant code and files
1999-04-24 00:12:00 +00:00
Zeev Suraski
05d24c6022
Remove redundant code
1999-04-23 22:45:01 +00:00
Zeev Suraski
09946676d2
Thread-safe header_is_being_sent
1999-04-23 20:20:30 +00:00
Zeev Suraski
6f7c0edee3
Remove tls.[ch]
1999-04-23 20:06:01 +00:00
Zeev Suraski
f53afa6edd
cleanups
1999-04-23 19:50:29 +00:00
Zeev Suraski
bce60f0fe6
* MySQL fix (thanks Stig)
...
* Remove reundant includes from bcmath
1999-04-23 12:38:45 +00:00
Zeev Suraski
43c9b540d7
Minor MySQL thread safety issues
1999-04-23 11:12:41 +00:00
Rasmus Lerdorf
7440bc50da
Ok, finally.. These now work nicely on a RH-5.2 box:
...
--with-mysql --with-ldap --with-imap --with-zlib --with-snmp
1999-04-23 04:54:31 +00:00
Rasmus Lerdorf
806dfc2a76
Make zlib compile
1999-04-23 04:12:13 +00:00
Rasmus Lerdorf
cad2318a54
Module work
1999-04-23 03:28:47 +00:00
Rasmus Lerdorf
af3f73f7a3
This is generated
1999-04-22 04:42:58 +00:00
Rasmus Lerdorf
77cdb5f483
Bring imap build rules up to date. We still have a problem here though.
...
In this new build structure we are adding libraries to $LIBS as we add
modules instead of doing an AC_SUBST into the Makefile. One reason for
doing the subst in php3 was to get around the libraries that could not
be included in $LIBS because doing so would mess up the various configure
tests. For example, you can't do a -limap as part of the various simple
configure compile programs because -limap requires a bunch of callback
symbols to be present.
1999-04-22 04:21:08 +00:00
Stig Bakken
e109756121
db was not linked in
1999-04-22 03:03:35 +00:00
Stig Bakken
09d047f8b1
db was not linked in
1999-04-22 03:01:32 +00:00
Stig Bakken
2c0ad3ee25
last bunch of extensions moving to ext/
...
fhttpd module taken out of functions, functions is ready to go.
The only extensions I have tested are gd+freetype and odbc(solid).
Please try compiling in your favourite extensions and let me know how it
works.
1999-04-22 02:48:28 +00:00
Stig Bakken
2a78f92804
moved imap and ldap
1999-04-22 00:45:14 +00:00
Stig Bakken
ff37732997
moved fdf, hyperwave, informix and some smaller files
1999-04-22 00:25:57 +00:00
Stig Bakken
f582bec9db
moved db
1999-04-21 23:37:47 +00:00
Stig Bakken
f9f82960d9
moved bcmath
1999-04-21 23:28:00 +00:00
Stig Bakken
a297b95c9d
moved apache, com and hyperwave into ext/
1999-04-21 23:11:20 +00:00
Stig Bakken
f67a9bdc52
moved dav, msql and oracle to ext/
1999-04-21 22:49:16 +00:00
Stig Bakken
71c71a4732
moved filepro to ext
1999-04-21 22:05:45 +00:00
Stig Bakken
7d013383e9
mysql should work again now, can someone with mysql installed test it?
1999-04-21 21:34:57 +00:00
Stig Bakken
5d75ccdcff
gd compile fix
1999-04-21 21:27:18 +00:00
Stig Bakken
3789ac7ea0
moving mysql to ext/
1999-04-21 21:26:10 +00:00
Stig Bakken
f9d169c812
create .cvsignore only once :-)
1999-04-21 21:13:40 +00:00
Stig Bakken
3a3e18728c
create .cvsignore as well
1999-04-21 20:39:22 +00:00
Zeev Suraski
751709a469
* Rename php_compat.[ch] to flock_compat.[ch] and move it to ext/standard
...
* Fix Win32 compilation
1999-04-21 19:01:38 +00:00
Sascha Schumann
065636be85
forgot that one
1999-04-21 18:10:39 +00:00
Sascha Schumann
08c6298af9
cleanup, flock() support
1999-04-21 18:10:18 +00:00
Sascha Schumann
f06cb4deb6
crypt constants
1999-04-21 17:57:40 +00:00
Zeev Suraski
7aad231327
Thread safety patch. It works now with just-in-time resource initialization!
1999-04-21 17:28:54 +00:00
Sascha Schumann
48e350a94d
incorporate gettext support
1999-04-21 17:26:16 +00:00
Sascha Schumann
dcc16af80c
port some fixes, add compat routines
1999-04-21 17:11:01 +00:00
Sascha Schumann
a6e4ef3e31
str_replace fix
1999-04-21 16:31:27 +00:00
Stig Bakken
9b3c1ca2c3
make config.h.stub as well
1999-04-21 16:23:47 +00:00
Sascha Schumann
8489ea5414
generates basic skeleton for new extension
1999-04-21 10:24:41 +00:00
Zeev Suraski
c5af324ec3
More thread safety work
1999-04-21 04:02:11 +00:00
Stig Bakken
b84ce5a06a
added ext/*/config.h.stub files
...
removed config.h.in (generated)
1999-04-20 01:23:32 +00:00
Stig Bakken
54468d2e75
odbc compiles and runs on UNIX again (tested with Solid 2.3)
1999-04-20 01:03:12 +00:00
Stig Bakken
edf17b2a8f
include the right header files
1999-04-19 17:24:25 +00:00
Stig Bakken
7dee737fb4
moved odbc into ext/
1999-04-19 15:04:11 +00:00
Stig Bakken
6094128afe
moved dbase into ext/ along with the bundled library
...
dbase programs are no longer included
1999-04-19 13:56:50 +00:00
Zeev Suraski
1390eadc14
Ah, so that file is generated too
1999-04-18 20:59:54 +00:00
Zeev Suraski
5e8c322859
Make Win32 happy with the recent changes.
1999-04-18 15:58:27 +00:00
Andi Gutmans
593e603e4b
- Make gettype() behave like it used to where it returned "object" for
...
objects.
1999-04-17 07:02:58 +00:00
Stig Bakken
1e2474b18c
Apache module compiles again
1999-04-17 02:01:20 +00:00
Stig Bakken
4f7b0a0ccd
make sure the images on the phpinfo() page point to PHP-enabled pages
1999-04-17 01:52:58 +00:00
Stig Bakken
257de2bade
First commit of re-structuring phase one. We have started using automake in
...
sub-directories and started to move extension code into ext/<name>. For now,
I have moved the "standard" extension (which is quite a mix of everything
right now) and the GD extension into their own subdirs in ext/.
The configure script now also runs configure in the libzend directory
automatically and makes sure php4 and libzend use the same config.cache file.
To avoid running configure in libzend, use the --no-recursion option.
"make" in php4 also builds libzend now.
The Apache module doesn't compile right now, but a fix for that is
coming up.
1999-04-17 00:37:12 +00:00
Stig Bakken
2127ede122
updated GD from php3 repository, using it as a test extension for the new
...
directory structure
1999-04-16 12:15:38 +00:00
Zeev Suraski
882bbf6f45
Win32 patches
1999-04-07 21:19:35 +00:00
Zeev Suraski
aceaabceff
PHP 4.0
1999-04-07 21:05:13 +00:00