Sascha Schumann
5d34e43f8d
Include php_config.h in both files, otherwise HAVE_STRLCAT/HAVE_STRLCPY
...
will never be defined, even on systems which have these functions.
1999-11-26 13:33:41 +00:00
Zeev Suraski
442f8b3c3c
*** empty log message ***
1999-11-25 15:24:49 +00:00
Sascha Schumann
d462115341
Killing some unused variable warnings
1999-11-24 17:56:31 +00:00
Zeev Suraski
db0fcc6d11
Use the unified notation...
1999-11-23 22:10:44 +00:00
Sam Ruby
5385610450
errors during startup trap server
1999-11-23 03:10:46 +00:00
Zeev Suraski
9820dd0927
Fixed a leak when using automatic output buffering
...
@ Fixed a leak when using automatic output buffering (Zeev)
1999-11-22 20:58:56 +00:00
Andi Gutmans
0094b765eb
- Make it consistent with the rest of the stuff there.
1999-11-19 16:42:19 +00:00
Andi Gutmans
3bffcbef5b
- Add array.c to the Win32 project
1999-11-19 15:06:57 +00:00
Sascha Schumann
4bb5e353d5
Add post request startup handlers. These are called at the end of the
...
request startup function, and can use the initialized structures like
the symbol table.
1999-11-17 23:01:27 +00:00
Stig Bakken
3150bd63e9
Bump version to 4.0b4-dev.
1999-11-17 13:25:44 +00:00
Stig Bakken
65557ffe88
4.0b3 coming up
1999-11-16 15:37:31 +00:00
Stig Bakken
5f8f410e51
@Added tmpfile() function (Stig)
...
Removed the mkstemp stuff and added tmpfile() function instead.
1999-11-14 11:05:37 +00:00
Andrei Zmievski
c898d87aad
These are inserted automatically now.
1999-11-13 20:47:33 +00:00
Andrei Zmievski
438addf331
Split array functions into separate module.
1999-11-13 20:31:54 +00:00
Sascha Schumann
afc9e1257b
Suck in prototypes correctly with applied aliases
...
(otherwise php_reg* would not be prototyped)
1999-11-13 18:33:28 +00:00
Sascha Schumann
bcb2214e99
Improve regex library selection. It lets user specify whether they want
...
system, apache, or php's regex library by using the --with-regex option.
"php" is the default; if you use --with-apache in combination with
Apache 1.3.x, the default is "apache".
1999-11-13 16:51:33 +00:00
Sascha Schumann
c810659379
preparing 4.0b3-RC5
1999-11-13 12:48:57 +00:00
Thies C. Arntzen
639354357f
@- RFC-854 fix for internal FTP-Code. Commands have to end in "\r\n" (Thies)
...
(PHP fopen) commands send to a FTP-server need to end in "\r\n" (RFC 854)
1999-11-11 13:49:42 +00:00
Stig Bakken
45c254d89c
#if -> #ifdef changes for the ODBC extension (for consistency)
1999-11-09 19:53:38 +00:00
Stig Bakken
ef941dd700
4.0b3-RC4
1999-11-09 17:03:46 +00:00
Stig Bakken
9e1cfb4f6e
Bump version to 4.0b3-RC3.
...
# We release RC2 just minutes before Sam Ruby commits his Java extension.
# What timing!
1999-11-09 12:20:34 +00:00
Stig Bakken
63d47b7735
(PHP tempnam) now uses mkstemp() if available
...
@- tempnam() now uses mkstemp() if available (Stig)
1999-11-08 09:18:57 +00:00
Zeev Suraski
512f4519c6
Version update
1999-11-06 10:06:37 +00:00
Zeev Suraski
0700ad3417
- Win32 fixes
...
- COM module improvements from Boris Wedl
1999-11-06 10:01:55 +00:00
Sam Ruby
d5233c482b
configuration failures trap server
1999-11-05 17:52:00 +00:00
Stig Bakken
f2099fccfb
# First shot at 4.0b3.
1999-11-04 09:40:44 +00:00
Sam Ruby
242631c4bb
@Continue processing PHP_INI_SYSTEM knownDirectives after extension=
...
#
# Never saw a response to PHP-DEV post of 25-OCT
#
# Given the existence of knownDirectives, I figured that option 2
# was closest to the original design intent.
1999-10-31 11:56:22 +00:00
Rasmus Lerdorf
5a391e843a
typing in the dark
1999-10-30 14:26:42 +00:00
Rasmus Lerdorf
3bfc215091
Damn, can't see underscores correctly on this silly terminal I am on
1999-10-30 14:24:36 +00:00
Rasmus Lerdorf
cf0868fec8
Clean up regex header file mess. php.h now explicitly includes php_regex.h
...
and php_regex.h figures out which regex header files to include and
defines symbols that prevents other stuff from including the wrong versions
of regex header files.
1999-10-30 14:22:10 +00:00
Rasmus Lerdorf
f160ee8782
Kill the regex header file warnings
1999-10-29 17:33:19 +00:00
Thies C. Arntzen
ea880d2b86
moved output.c into ext/standart and made it thread-safe.
...
moved output-buffering related functions from basic_functions to output.c
Win32 project need to be updated to reflect new position.
# i'm not really happy with this solution, but it seemed the easiest one!
# the whole output code is a bit hard to understand...
@- Output-Buffering system is now Thread-Safe. (Thies)
1999-10-27 18:30:41 +00:00
Andi Gutmans
8a3e0ced12
- Make COM compile again
1999-10-20 19:16:17 +00:00
Andi Gutmans
5212b2fe5b
- Make CVS compile on Win32.
...
- Rename php3_COM.h -> php_COM.h
1999-10-20 18:09:44 +00:00
Andrei Zmievski
26c019eaa1
Revert my patches to error functions.
1999-10-19 19:11:02 +00:00
Andrei Zmievski
9e0017536d
_php3/_php3i -> php rename
1999-10-16 16:35:20 +00:00
Andi Gutmans
ad84f02efb
- Get windows version to compile again. No biggy if array_map is not #if 0'd
...
out even if it doesn't work.
1999-10-16 10:14:47 +00:00
Andrei Zmievski
db69449d9f
Update mergesort() proto.
1999-10-15 21:23:37 +00:00
Andrei Zmievski
e906d4548a
Small tweak in the error format.
1999-10-15 20:32:47 +00:00
Andrei Zmievski
b625bbd14a
(php3_log_err): Don't output error message to stderr when
...
running as CGI binary.
1999-10-15 20:27:38 +00:00
Andrei Zmievski
3ee9dbea0c
(php_error): finally get rid of those annoying html tags
...
when running as CGI binary
1999-10-15 19:55:18 +00:00
Andrei Zmievski
86e031d9e8
Added mergesort.c from FreeBSD.
1999-10-15 19:23:04 +00:00
Thies C. Arntzen
b5c3c7bfc9
files are now resources, file.c is thread-safe, the le_ vars are no longer shared,
...
but they are accessible thru "php_file_le_socket(), php_file_le_uploads()..."
i also updated the ftp, pdf and file-upload stuff to match the new requirements.
@- Cleaned up File-Module (Thies)
1999-10-15 15:22:25 +00:00
Zeev Suraski
9295bd2577
Make ODBC work under Win32
1999-10-15 12:28:20 +00:00
Thies C. Arntzen
e2d66a6d28
new api fo dl() - renamed php3_dl to php_dl (added compat header)
1999-10-13 19:55:25 +00:00
Thies C. Arntzen
0cc1641447
starting to clean-up/new API'ize and resourcify the file-stuff - nothing happened yet - just renaming things around.
1999-10-12 18:50:05 +00:00
Sascha Schumann
965c9c2187
Use correct data type for mutex.
1999-10-08 16:29:33 +00:00
Sascha Schumann
9c995e93d7
Implement temporary workaround for thread-safety issues. This
...
serializes all request accesses. To disable, define NO_GLOBAL_LOCK
1999-10-08 16:24:31 +00:00
Thies C. Arntzen
601b837c56
SET_VAR_STR* expect a emalloc'ed copy of the string!
1999-10-07 09:13:39 +00:00
Uwe Steinmann
8c473e1f47
- support for mimetype application/vnd.fdf needed by fdf module
...
(only active if fdf support is compiled in)
1999-10-06 05:26:25 +00:00
Sascha Schumann
c36bff57ca
Fix logic.
1999-10-05 12:06:35 +00:00
Sascha Schumann
7aed3d51fc
* Fix header("HTTP/..") behaviour
...
* Fix leak WRT http_status_line
* Update sapi/README
* Remove %PHP_OUTPUT_FILES sort
1999-10-04 18:07:46 +00:00
Thies C. Arntzen
b357d0eaf8
i swear, i compiled (at least) before i committed!
1999-10-04 10:39:32 +00:00
Thies C. Arntzen
0dbabb9871
"cc -32" on IRIX 6.4 does not like (PHP_TRACK_VARS?"1":"0") - at least not if PHP_TRACK_VARS is 0.
1999-10-04 09:56:52 +00:00
Stig Bakken
2a854ca8b9
Generalized server-API build process on UNIX. Each SAPI
...
implementation now has its own directory under sapi/, just like
extensions have theirs under ext/. To make the final targets appear
in the main dir, the top-level Makefile includes sapi/NN/Makefile.inc
from the selected sapi backend. This is a plan Makefile stub without
any autoconf substitutions. Each SAPI backend also has its own
config.m4 like extensions (read at the end of diversion 2) and
config.h.stub files.
Each SAPI backend has to contain:
config.m4: just like for extensions, this file contains
autoconf/automake directives that end up in the configure script. The
only difference is that the sapi config.m4 files are read in diversion
(output block) 2 instead of 3. The sapi config.m4 files should set
two variables: PHP_SAPI (which sapi backend to choose) and SAPI_TARGET
(the name of the resulting library or program, previously BINNAME).
If they are not specified, they will default to "cgi" and "php",
respectively.
Makefile.inc: has to exist, has to define "INSTALL_IT" to the command
used to install the final target (or ":" for no operation). It also
has to define a plain Makefile rule (without autoconf substitutions)
to build $(SAPI_TARGET)
Makefile.am: just what you think. Make sure your target is called
"libphpsapi_NNN.a", where NNN is the value of PHP_SAPI.
Some testing and fixing probably remains. To make everything hang
together, I've done some ugly tricks that I can imagine causing some
problems. I've built and run the CGI version and built the Apache
DSO.
1999-09-27 16:34:28 +00:00
Stig Bakken
33a946d317
#if !HAVE_FOO -> #ifndef HAVE_FOO
1999-09-24 14:41:27 +00:00
Andi Gutmans
96a19593b2
- Internal functions which are basic language functions should be in Zend
...
and not in PHP. I.e. strlen(), each(), error_reporting(), count(),
get_class_name().
1999-09-20 16:56:02 +00:00
Sascha Schumann
dbc6964fbb
There is no reason to define malloc() to xmalloc() in this context.
1999-09-18 12:13:48 +00:00
Sascha Schumann
61f288ced3
0' flag ignored with precision specifier and
X' format
1999-09-17 01:16:54 +00:00
Zeev Suraski
98d95dd88e
- Added support for unknown POST content types (Zeev)
...
- Introduce the convert_to_*_ex() API in strlen()
1999-09-16 23:18:15 +00:00
Zeev Suraski
71a4740847
*** empty log message ***
1999-09-16 22:31:33 +00:00
Zeev Suraski
13e67642fa
Generalize SAPI a bit
1999-09-16 22:15:43 +00:00
Thies C. Arntzen
328d08bd63
HASH_OF is usable enough (i hate duplicating macros all over the place)
1999-09-15 09:51:20 +00:00
Stig Bakken
1740e6ee4e
Clean up the strlcat/strlcpy checks.
1999-09-15 09:35:20 +00:00
Andi Gutmans
37d7b91d48
- First go at using strlcat().
1999-09-14 20:12:46 +00:00
Andi Gutmans
6a836bee6f
- Support strlcpy/strlcat in windows.
1999-09-14 20:02:47 +00:00
Andi Gutmans
61a3c147c3
Add strlcpy/strlcat to the build process
1999-09-14 19:12:57 +00:00
Thies C. Arntzen
ac1a484c84
i'm sure this was left-over debugging code!
1999-09-14 13:32:54 +00:00
Andi Gutmans
331221eec6
- X-* is probably more standard.
1999-09-13 20:03:56 +00:00
Thies C. Arntzen
95303a4bb2
added Metaphone support
1999-09-13 15:48:32 +00:00
Zeev Suraski
b2c0acb9ec
- Rewrote the GET/POST/Cookie data reader to support multi-dimensional
...
arrays! (Zeev)
This still needs a lot of more testing, but it seems to work more or less.
1999-09-12 23:51:12 +00:00
Zeev Suraski
ce5a09ea40
Add PHP-Version header in IIS
1999-09-12 21:07:53 +00:00
Zeev Suraski
9e3315799c
That's important enough to be cached
1999-09-12 20:36:48 +00:00
Zeev Suraski
a1784083e9
Time to do that - rename the output layer prefix
1999-09-12 03:25:02 +00:00
Andrey Hristov
99caa5d43b
Use OnUpdateBool for Boolean entries.
1999-09-11 20:36:47 +00:00
Zeev Suraski
7afbcb4fef
Rename allow_builtin_links to expose_php
1999-09-11 16:32:08 +00:00
Zeev Suraski
27afe4e49b
More cleanup
1999-09-11 16:16:16 +00:00
Zeev Suraski
15fee4d3a6
- Seriously optimize and clean php_parse_gpc_data()
...
- Added gpc_globals directive to turn global definitions of GPC variables on/off
(untested)
1999-09-11 15:04:45 +00:00
Zeev Suraski
1b6ccfe86c
Cleanups & optimizations
1999-09-11 14:09:29 +00:00
Zeev Suraski
fb910c64cd
Cleanups
1999-09-11 13:44:23 +00:00
Andi Gutmans
48ab0fb57d
- Fix warnings and win32 compile
1999-09-07 20:29:31 +00:00
Zeev Suraski
959ad0e9ea
A couple of BoundsChecker fixes
1999-09-06 22:40:27 +00:00
Andi Gutmans
f1afd5796c
- Should fix Win32 compile
1999-09-06 20:43:25 +00:00
Sascha Schumann
8aa0c92bc6
fix warning
1999-09-05 19:59:28 +00:00
Andi Gutmans
7ebbe20fb0
- Should fix short_tags and co. problem.
1999-09-05 19:49:54 +00:00
Andi Gutmans
52cb8bb275
- Make Win32 compile once again.
1999-09-05 19:36:04 +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
Sascha Schumann
5a2189f3d3
work around gcc bug, otherwise compiler would die with
...
toplev.c:2261: Internal compiler error in function float_signal
in basic_functions.c
1999-09-05 11:38:01 +00:00
Andi Gutmans
04b0bc4c70
- php_error(E_ERROR,...) won't ever return so change the connection_status
...
before it is called.
1999-09-05 05:15:42 +00:00
Rasmus Lerdorf
bcb0020705
Forgot one
1999-09-04 22:18:43 +00:00
Zeev Suraski
ce4e09daff
This was actually intentional... put it back in and improve
1999-09-04 22:13:41 +00:00
Rasmus Lerdorf
54ec3a8e2f
Cleanups
...
What the heck was that dangling (c) for in the PUTC macros? Were they
supposed to serve some sort of purpose, because I sure don't see one for
them.
1999-09-04 22:06:12 +00:00
Rasmus Lerdorf
d3439023d3
Catch a timeout and add user-level interface for connection handling
1999-09-04 21:10:39 +00:00
Rasmus Lerdorf
82d975d671
Might as well bail as soon as we know we should since this is now
...
possible. We still need to set our connection status bit field so a
shutdown function can figure out if a script was terminated due to an
abort, timeout or finished normally.
1999-09-04 20:37:24 +00:00
Rasmus Lerdorf
0bede914ab
First part of the connection_status work. No user-callable functions
...
yet. That is coming next. Have also only done Apache and CGI so far.
Will have to crack open my ISAPI book to do that one.
Also changed the SAPI output functions to return an int. We'll check
the connection status inside each one, but we might need the return
code at some other level and I don't see a good reason for just tossing
these return codes.
1999-09-04 20:12:47 +00:00
Zeev Suraski
c12d4bc7d4
*** empty log message ***
1999-09-04 13:18:59 +00:00
Sascha Schumann
3e591dabbd
Add global startup/shutdown functions in Win32 version as well
1999-09-03 18:33:30 +00:00
Sascha Schumann
8e8d923fea
Add prototypes for new functions in internal_functions.c.in
1999-09-03 18:32:34 +00:00
Sascha Schumann
5b293ecd4d
- add global startup/shutdown handlers
...
- improve genif.sh to also consider all header files for inclusion
(checks for phpext_)
- use vsnprintf in main.c to avoid buffer overflows
- improve sessions's mm module to cope better with OOM situations
within the shared memory segment
- fix typo wrt session.auto_start
1999-09-03 17:46:39 +00:00
Zeev Suraski
ee56524324
Version update
1999-09-03 08:26:13 +00:00
Zeev Suraski
276c876171
- Fixed several problems with output buffering and HEAD requests (Zeev)
...
- Fixed HTTP Status code issue with ISAPI module (Zeev)
1999-09-03 02:39:36 +00:00
Andi Gutmans
b6789ae332
- Add sessions module to standard win32 build.
1999-09-01 19:28:07 +00:00
Stig Bakken
4092f4b8c0
ext/lcg -> ext/standard in various places
1999-08-31 18:05:22 +00:00
Stig Bakken
788b25ccf8
fix for bug #2165
1999-08-31 15:39:13 +00:00
Stig Bakken
5600f889b2
moved lcg stuff to ext/standard
1999-08-29 20:12:12 +00:00
Sascha Schumann
053712c95d
when "track_vars" is disabled and a script which contains <?php_track_vars?> is
...
accessed for the first time, track vars were not created properly.
1999-08-28 14:00:44 +00:00
Zeev Suraski
4628f3021b
New relay code
1999-08-28 11:17:28 +00:00
Zeev Suraski
f681b37c7b
*** empty log message ***
1999-08-27 04:51:49 +00:00
Zeev Suraski
1dadb97552
Log date&time on script logs
1999-08-27 04:31:53 +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
Andi Gutmans
d13f6d754f
- Add lcg to windows project.
1999-08-22 19:19:42 +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
Zeev Suraski
4e33a1d677
Close bug #1742
1999-08-14 16:52:28 +00:00
Zeev Suraski
55a6c270dd
Fix thread unsafe version
1999-08-14 10:04:04 +00:00
Andi Gutmans
7145d1a21a
- Make the non-threadsafe version compile again
1999-08-14 09:55:43 +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
Philippe Verdy
2d3ef1b8ae
no return warning removed. fixed TSRM constructor prototype
1999-08-12 11:05:43 +00:00
Andi Gutmans
c791d60ad9
Go beta 2 (final)
1999-08-09 18:29:40 +00:00
Andi Gutmans
3516ee485a
Fix HTTP/ header handling
1999-08-09 17:40:28 +00:00
Zeev Suraski
1e6c159422
Built-in phpinfo() links are now turned off by default. They can be
...
turned on using the allow_builtin_links INI directive
1999-08-07 18:21:35 +00:00
Philippe Verdy
6c40fa15b6
unreferenced variable warning
1999-08-07 15:58:51 +00:00
Thies C. Arntzen
2c73cc3b29
hope i haven't missed anything - but we're no longer in the 3.x tree
1999-08-05 07:42:46 +00:00
Mike Gerdts
ecc1aa80e7
Last character of file not a newline, causing problems with Sun's C compiler
1999-08-03 16:49: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
Zeev Suraski
30569aac45
Go Beta 2
1999-08-02 19:20:54 +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
Zeev Suraski
2639ab7d03
Fix another compile warning
1999-07-31 19:53:02 +00:00
Zeev Suraski
afeb7704c9
Fix problem with include/require of URLs
1999-07-31 18:57:41 +00:00
Andrey Hristov
e1a84e442e
Fix for bug #1907 .
1999-07-30 13:17:29 +00:00
Andrey Hristov
5aa3eff94f
Fix link functions problem.
1999-07-28 13:59:35 +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
Andrey Hristov
736f4831a5
A bunch of grunt work updating function entries and declarations.
1999-07-24 22:16:54 +00:00
Zeev Suraski
fff675c448
Congrats Andrey
1999-07-24 20:36:31 +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
Stig Bakken
830be36b56
required for the Windows build, re-adding
1999-07-23 20:47:17 +00:00
Stig Bakken
8bf949b5d6
generated file
1999-07-23 15:32:07 +00:00
Andi Gutmans
6cdea551cc
- Make Win32 compile again.
1999-07-23 14:14:42 +00:00
Andrey Hristov
64ed8f7141
Changeloggin'
1999-07-23 13:47:57 +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
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
adbf932744
*** empty log message ***
1999-07-21 15:10:04 +00:00
Andi Gutmans
a064237fc0
Fix Win32 compilation
1999-07-19 16:08:43 +00:00
Sascha Schumann
99a2aa0f80
allow access to std{in,out,err} by using the php domain
1999-07-18 15:53:50 +00:00
Zeev Suraski
614b4b781e
I was sure I committed these already. Weird
1999-07-17 19:17:42 +00:00
Zeev Suraski
c5724cbd14
License update
1999-07-16 13:13:16 +00:00
Zeev Suraski
e883283590
* Update logos
...
* Move from PreAlpha 1 to Beta 1.
1999-07-14 23:33:00 +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
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
Zeev Suraski
cb2a2ea9d3
*** empty log message ***
1999-07-08 19:18:42 +00:00
Zeev Suraski
1a33277e3d
Avoid sending NULL argument to printf
1999-07-08 17:15:43 +00:00
Zeev Suraski
5baaa716dc
Support PCRE under Win32
1999-07-06 19:49:48 +00:00
Zeev Suraski
6132bc3111
Support x-httpd-php-source
1999-07-03 23:15:10 +00:00
Sascha Schumann
6f3b0f799b
work around the Apache problem that it pollutes the namespace
1999-07-03 03:34:47 +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
36416f1109
Protect against NULL arguments in filename
1999-06-26 12:27:49 +00:00
Sascha Schumann
6ec7163796
add dmalloc
1999-06-26 00:34:36 +00:00
Zeev Suraski
acddd0f13c
Fix compile-time definition of track_vars default
1999-06-22 19:07:01 +00:00
Stig Bakken
8139b776e9
cosmetics
1999-06-22 11:04:35 +00:00
Stig Bakken
7f8e11d6d3
fix some potential buffer overflows
1999-06-22 01:59:30 +00:00
Zeev Suraski
943a911485
*** empty log message ***
1999-06-19 22:56:34 +00:00
Zeev Suraski
bb190f8565
Implement new get_ini_entry() for Zend
1999-06-19 19:23:24 +00:00
Zeev Suraski
57882d58e1
Use php.ini instead of php3.ini
1999-06-19 13:18:48 +00:00
Zeev Suraski
f88464ee6d
Win32/ZTS compiles again
1999-06-19 13:04:55 +00:00
Stig Bakken
62fc2f5f7f
update php3 sync info
1999-06-18 14:45:48 +00:00
Stig Bakken
d92c591514
optimize php3_fopen_url_wrapper() a bit (fewer recv() and send() calls)
1999-06-18 14:22:59 +00:00
Stig Bakken
2ca5404046
make CGI version work again
1999-06-18 13:02:34 +00:00
Zeev Suraski
a22d6b980e
Win32 patches (does not compile still)
1999-06-17 03:45:20 +00:00
Stig Bakken
27f1799b68
MIME headers may be 512 characters long.
1999-06-16 18:43:59 +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
8c4411b5da
* reverse fsock/string import patches
1999-06-15 21:51:00 +00:00
Zeev Suraski
f86fb810a0
Change four spaces back to tabs (Why the hell did you change the tabs to four spaces?!)
1999-06-15 19:05:01 +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
Zeev Suraski
96bfbc7904
First attempt at moving the old RFC1867 support to the right place
1999-06-12 17:50:39 +00:00
Zeev Suraski
4b062fdfec
Print out include_path in include/require failures
1999-06-11 11:59:35 +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
Zeev Suraski
bbce669cea
Move shutdown order into Zend
1999-06-05 19:00:56 +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
Zeev Suraski
4ea6d477ec
thread-safety fix
1999-05-31 19:58:20 +00:00
Zeev Suraski
5f12a05aa3
*** empty log message ***
1999-05-31 17:40:15 +00:00
Sascha Schumann
31da7331fe
kill some warnings
1999-05-30 12:00:06 +00:00
Sascha Schumann
6ebb2c80e0
kill warning
1999-05-29 16:20:55 +00:00
Sascha Schumann
52463124be
getopt.h conflicted with system include file
1999-05-29 13:53:59 +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
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
Rasmus Lerdorf
f1f4e6f478
Some innocent cleanups
1999-05-28 03:54:15 +00:00
Zeev Suraski
83cdc9476d
Generate Visual Studio compatible error messages when compiling under Win32
1999-05-27 03:14:57 +00:00
Zeev Suraski
064a16c7b2
Moved all SET_ and RETURN_ macros to Zend
...
Fixed all RETVAL_ macros
1999-05-27 00:45:31 +00:00
Zeev Suraski
cf58b7ef16
Add container for file-upload. It's not quite implemented yet.
1999-05-25 22:28:24 +00:00
Zeev Suraski
4f545f9c6b
Allow unregistering content types as well.
1999-05-25 21:19:46 +00:00
Zeev Suraski
72f6e823f9
* Add generic POST content-type support. Only application/x-www-form-urlencoded
...
supported at this time, but the framework allows for any other types, including
runtime addition of types.
1999-05-25 21:14:54 +00:00
Zeev Suraski
7b98592282
include regex in Win32 build
1999-05-24 18:02:42 +00:00
Zeev Suraski
d62a739cca
More fixes. Should hopefully work well now.
1999-05-22 12:19:57 +00:00
Zeev Suraski
9df57a2263
php_ini fixes
1999-05-22 11:34:21 +00:00
Zeev Suraski
9b4d71205b
* Minor fixes
...
* Better handling for multiple repeated memory leaks (libzend updated)
1999-05-22 10:56:36 +00:00
Zeev Suraski
a08e3925b1
Time to rename the child
1999-05-22 09:24:21 +00:00
Zeev Suraski
58a0ae7b35
Small fix
1999-05-22 01:15:25 +00:00
Zeev Suraski
9e862c11ec
Fix a memory leak
1999-05-21 23:51:19 +00:00
Zeev Suraski
be8b9778e0
This should be centralized...
1999-05-21 23:25:46 +00:00
Zeev Suraski
c57c0e9cd5
* Fix error handling startup on the thread-safe CGI version
...
* A failed require() is a compile-time error, consider it as one
1999-05-21 19:22:17 +00:00
Zeev Suraski
59a539f6ad
Use OutputDebugString() or fprintf(stderr,) for memory leaks
1999-05-20 19:06:28 +00:00
Andi Gutmans
7eef22472c
- Small fixes
1999-05-20 12:06:45 +00:00
Zeev Suraski
d2c16bf5bd
*** empty log message ***
1999-05-15 14:56:23 +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
49b01a4b3d
Support HTTP Auth under ISAPI. Now, these short pieces of code took *A LOT* of
...
research :(
1999-05-12 21:35:16 +00:00
Thies C. Arntzen
d470b4cfe0
added _php3_hash_next_index_pointer_insert
1999-05-12 16:11:35 +00:00
Sascha Schumann
a4d20864a6
- regex cache (needs some work)
...
- str_replace changes from php3
1999-05-12 15:40:15 +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
Zeev Suraski
9fd708a313
Handle the Location: header centrally for all SAPI modules.
1999-05-11 18:36:35 +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
ea0f19850e
A couple of fixes.
1999-05-10 20:41:42 +00:00
Zeev Suraski
928e322038
Weed out all BoundsChecker-found bugs
1999-05-10 19:48:23 +00:00
Zeev Suraski
8f48b83df4
Only read POST info if the request method is POST.
1999-05-09 20:58:26 +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
Zeev Suraski
ae6f852cb6
Oh yeah, wrong license
1999-05-06 22:31:46 +00:00
Zeev Suraski
ade1117ebd
* Get output buffering to work again
...
* Warn about adding header information after headers are sent
* Several fixes
1999-05-06 21:58:49 +00:00
Zeev Suraski
842b5ee941
vpath fix
...
Apache compatability fix
1999-05-05 21:47:04 +00:00
Zeev Suraski
6f1c611868
Fixes
1999-05-05 21:29:26 +00:00
Zeev Suraski
54fa0e5d16
fix
1999-05-05 21:11:27 +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
Zeev Suraski
2740382c2c
ISAPI WORKS!
1999-05-05 19:53:15 +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
Zeev Suraski
9e67cded5e
Get Win32 to compile again
1999-05-04 20:27:30 +00:00
Zeev Suraski
95af652d2b
An initial default builtin modules file for Win32
1999-05-04 03:43:49 +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
Zeev Suraski
7071131f81
Get rid of request_info.path_translated
1999-05-02 19:31:56 +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
Zeev Suraski
d843632629
Remove redundant code
1999-04-28 21:29:31 +00:00
Zeev Suraski
a877f6d380
Additional generalization of the INI mechanism. Avoid needing specialized
...
message handlers in 99% of the cases.
1999-04-28 21:14:47 +00:00
Zeev Suraski
66476011dd
A step towards generalizing the INI mechanism even more
1999-04-28 20:26:33 +00:00
Andi Gutmans
a74b342612
- Small startup fix.
1999-04-28 17:38:24 +00:00
Zeev Suraski
1245356128
* Get rid of the memory leak messages in case of fatal errors or exit()
...
* .dsp fixes
* Minor fixes
1999-04-27 10:00:54 +00:00
Zeev Suraski
9b56453566
* Small startup fix
...
* Fix min() and max()
1999-04-26 20:20:12 +00:00
Zeev Suraski
48de4ce0dd
Somehow the rules for the configuration parser/scanners disappeared
1999-04-26 19:02:59 +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
Andi Gutmans
9c51acdc17
-More
1999-04-26 03:03:36 +00:00
Zeev Suraski
23a1d3fb91
Win32 isn't a good os to commit uppercase files with...
1999-04-25 21:04:17 +00:00
Andi Gutmans
4ebb4060f9
* Fix a couple of thread safety issues
...
* Add initial ISAPI support. Very very experimental.
* In the thread safe version, generate php4 as a library so that we can link it with both
php.exe and the ISAPI dll. We should probably consider doing that under all circumstances,
under UNIX as well.
The thread-unsafe version *should* be unharmed.
1999-04-25 19:35:44 +00:00
Zeev Suraski
125275b084
Small fixes
1999-04-24 16:51:15 +00:00
Zeev Suraski
6ecc81c097
We'd have to find a different way of allowing timeouts in Win32
1999-04-24 16:17:04 +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
f9cdc88471
Testing unified diffs
1999-04-23 10:26:49 +00:00
Zeev Suraski
8a2f6371fe
*** empty log message ***
1999-04-23 03:36:17 +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
ff37732997
moved fdf, hyperwave, informix and some smaller files
1999-04-22 00:25:57 +00:00
Stig Bakken
f9f82960d9
moved bcmath
1999-04-21 23:28:00 +00:00
Stig Bakken
23280d0a75
added PHP_API_VERSION, simply set it to 19990421 for now
1999-04-21 19:39:21 +00:00
Zeev Suraski
7d34d425be
Minor fixes
1999-04-21 19:10:18 +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
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
dcc16af80c
port some fixes, add compat routines
1999-04-21 17:11:01 +00:00
Zeev Suraski
c5af324ec3
More thread safety work
1999-04-21 04:02:11 +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
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
Zeev Suraski
2e8fb4e329
Win32 registry support
1999-04-18 15:09:46 +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
Andi Gutmans
8cf2d74b76
- Make the memory leak message print PHP4.
1999-04-16 08:12:51 +00:00
Zeev Suraski
0666083907
NULL's should remain NULLs (at least in strings)
1999-04-12 19:40:33 +00:00
Stig Bakken
4213b5d6b6
tolerate uninitialized ini settings in php_ini_{long,double,string}()
1999-04-12 16:35:25 +00:00
Zeev Suraski
4869bd3bfc
Test patch...
1999-04-10 21:39:23 +00:00
Zeev Suraski
3b53a8ad0f
test patch
1999-04-10 21:34:53 +00:00
Zeev Suraski
1c23f75627
Oops
1999-04-10 21:30:49 +00:00
Zeev Suraski
4b98f345d1
php3_ini? What's that?
1999-04-10 17:39:08 +00:00
Zeev Suraski
bb6dff9c67
Buh-bye php3_ini
1999-04-10 16:25:23 +00:00
Zeev Suraski
e3d2234b80
A lot of php3_ini -> php_ini work
1999-04-10 13:32:47 +00:00
Zeev Suraski
79f9f0ce88
Move safe_mode to the new php_ini mechanism
1999-04-10 12:17:20 +00:00
Zeev Suraski
7685b44c4b
Move asp_tags and short_open_tag to the new php_ini mechanism
1999-04-10 11:22:18 +00:00
Zeev Suraski
4fd1d5b81b
* php_ini fixes
...
* convert the MySQL module to use the new php_ini mechanism
1999-04-10 00:19:33 +00:00
Zeev Suraski
d40e88a016
Apache php_ini support
1999-04-09 21:15:07 +00:00
Zeev Suraski
e95ebe0453
testing 123
1999-04-09 21:10:11 +00:00
Zeev Suraski
f92db069c3
test, ignore
1999-04-09 21:08:34 +00:00
Zeev Suraski
651e232f04
Testing 123
1999-04-09 21:04:12 +00:00
Zeev Suraski
f8ef66d1a4
*** empty log message ***
1999-04-09 20:12:46 +00:00
Zeev Suraski
011813cce8
*** empty log message ***
1999-04-09 19:16:46 +00:00
Zeev Suraski
3e58450513
* A lot of work on php_ini stuff
...
* A lot of work on getting rid from php3_ini
1999-04-09 19:09:29 +00:00
Zeev Suraski
3edb99e8ac
Type library support in COM module
1999-04-08 23:14:56 +00:00
Zeev Suraski
6a97e1662d
* Add arguments to shutdown function
...
* Bring php_ini uptodate
1999-04-08 21:32:57 +00:00
Zeev Suraski
9d1a9331b3
Fix for php -v
1999-04-08 14:55:42 +00:00
Stig Bakken
a12d0a1c1c
patched in fsock.c from php3
1999-04-08 08:57:09 +00:00
Zeev Suraski
aceaabceff
PHP 4.0
1999-04-07 21:05:13 +00:00